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:
parent
4fd5dbcfdd
commit
610ee2c182
1 changed files with 2 additions and 1 deletions
|
@ -464,7 +464,8 @@ class PageContentTest extends TestCase
|
||||||
$this->assertStringContainsString('type="checkbox"', $page->html);
|
$this->assertStringContainsString('type="checkbox"', $page->html);
|
||||||
|
|
||||||
$pageView = $this->get($page->getUrl());
|
$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()
|
public function test_page_markdown_strikethrough_rendering()
|
||||||
|
|
Loading…
Reference in a new issue