mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Updated markdown task list test to check new list class
- Updated to align with custom list item render added yesterday.
This commit is contained in:
@ -464,7 +464,8 @@ class PageContentTest extends TestCase
|
||||
$this->assertStringContainsString('type="checkbox"', $page->html);
|
||||
|
||||
$pageView = $this->get($page->getUrl());
|
||||
$pageView->assertElementExists('.page-content input[type=checkbox]');
|
||||
$pageView->assertElementExists('.page-content li.task-list-item input[type=checkbox]');
|
||||
$pageView->assertElementExists('.page-content li.task-list-item input[type=checkbox][checked=checked]');
|
||||
}
|
||||
|
||||
public function test_page_markdown_strikethrough_rendering()
|
||||
|
Reference in New Issue
Block a user