]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/ExportTest.php
New translations editor.php (Italian)
[bookstack] / tests / Entity / ExportTest.php
index 08d0921111fdb88a908867af8f228a9c1280e175..826b69be5d22b307882ba9e4385fd85d599c8a99 100644 (file)
@@ -457,4 +457,12 @@ class ExportTest extends TestCase
             $resp->assertElementExists('head meta[http-equiv="Content-Security-Policy"][content*="script-src "]');
         }
     }
+
+    public function test_html_exports_contain_body_classes_for_export_identification()
+    {
+        $page = Page::query()->first();
+
+        $resp = $this->asEditor()->get($page->getUrl('/export/html'));
+        $resp->assertElementExists('body.export.export-format-html.export-engine-none');
+    }
 }