private function ChangeEventTest::assertElementChangeCount in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php \Behat\Mink\Tests\Driver\Js\ChangeEventTest::assertElementChangeCount()
4 calls to ChangeEventTest::assertElementChangeCount()
- ChangeEventTest::testCheckChangeEvent in vendor/
behat/ mink/ driver-testsuite/ tests/ Js/ ChangeEventTest.php - @dataProvider checkboxTestWayDataProvider @group change-event-detector
- ChangeEventTest::testSelectOptionChangeEvent in vendor/
behat/ mink/ driver-testsuite/ tests/ Js/ ChangeEventTest.php - @dataProvider selectOptionChangeEventDataProvider @group change-event-detector
- ChangeEventTest::testSetValueChangeEvent in vendor/
behat/ mink/ driver-testsuite/ tests/ Js/ ChangeEventTest.php - @dataProvider setValueChangeEventDataProvider @group change-event-detector
- ChangeEventTest::testUncheckChangeEvent in vendor/
behat/ mink/ driver-testsuite/ tests/ Js/ ChangeEventTest.php - @dataProvider checkboxTestWayDataProvider @group change-event-detector
File
- vendor/
behat/ mink/ driver-testsuite/ tests/ Js/ ChangeEventTest.php, line 148
Class
- ChangeEventTest
- @group slow
Namespace
Behat\Mink\Tests\Driver\JsCode
private function assertElementChangeCount($elementId, $message = '') {
$counterElement = $this
->getSession()
->getPage()
->findById($elementId . '-result');
$actualCount = null === $counterElement ? 0 : $counterElement
->getText();
$this
->assertEquals('1', $actualCount, $message);
}