Mercurial > hg > isophonics-drupal-site
comparison vendor/behat/mink-selenium2-driver/tests/Custom/TimeoutTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
9 /** | 9 /** |
10 * @expectedException \Behat\Mink\Exception\DriverException | 10 * @expectedException \Behat\Mink\Exception\DriverException |
11 */ | 11 */ |
12 public function testInvalidTimeoutSettingThrowsException() | 12 public function testInvalidTimeoutSettingThrowsException() |
13 { | 13 { |
14 $this->getSession()->start(); | |
15 | |
14 $this->getSession()->getDriver()->setTimeouts(array('invalid' => 0)); | 16 $this->getSession()->getDriver()->setTimeouts(array('invalid' => 0)); |
15 } | 17 } |
16 | 18 |
17 public function testShortTimeoutDoesNotWaitForElementToAppear() | 19 public function testShortTimeoutDoesNotWaitForElementToAppear() |
18 { | 20 { |