1
0
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:
Dan Brown
2021-08-24 21:09:40 +01:00
parent 4fd5dbcfdd
commit 610ee2c182

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