1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 11:52:34 +01: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:
Dan Brown 2021-08-24 21:09:40 +01:00
parent 4fd5dbcfdd
commit 610ee2c182
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -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()