public function ContentTest::testDumpingEmptyElements in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/driver-testsuite/tests/Basic/ContentTest.php \Behat\Mink\Tests\Driver\Basic\ContentTest::testDumpingEmptyElements()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Basic/ ContentTest.php, line 24
Class
Namespace
Behat\Mink\Tests\Driver\BasicCode
public function testDumpingEmptyElements() {
$this
->getSession()
->visit($this
->pathTo('/index.html'));
$element = $this
->getAssertSession()
->elementExists('css', '#empty');
$this
->assertEquals('An empty <em></em> tag should be rendered with both open and close tags.', trim($element
->getHtml()));
}