public function JavascriptTest::testIssue225 in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/driver-testsuite/tests/Js/JavascriptTest.php \Behat\Mink\Tests\Driver\Js\JavascriptTest::testIssue225()
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Js/ JavascriptTest.php, line 34
Class
Namespace
Behat\Mink\Tests\Driver\JsCode
public function testIssue225() {
$this
->getSession()
->visit($this
->pathTo('/issue225.html'));
$this
->getSession()
->getPage()
->pressButton('Créer un compte');
$this
->getSession()
->wait(5000, '$("#panel").text() != ""');
$this
->assertContains('OH AIH!', $this
->getSession()
->getPage()
->getText());
}