]> BookStack Code Mirror - bookstack/blobdiff - tests/Entity/PageTest.php
Audit Log: Fixed bad reference to linked entity item
[bookstack] / tests / Entity / PageTest.php
index 370c4381c63c8e22c9cc815aab6f2a10ea245c3e..daad82e76dc5cbf586bf80eb59290da31ef3436d 100644 (file)
@@ -50,6 +50,13 @@ class PageTest extends TestCase
         $resp->assertSeeText('Owned by ' . $owner->name);
     }
 
+    public function test_page_show_includes_pointer_section_select_mode_button()
+    {
+        $page = $this->entities->page();
+        $resp = $this->asEditor()->get($page->getUrl());
+        $this->withHtml($resp)->assertElementContains('.content-wrap button.screen-reader-only', 'Enter section select mode');
+    }
+
     public function test_page_creation_with_markdown_content()
     {
         $this->setSettings(['app-editor' => 'markdown']);