Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / behat / mink-selenium2-driver / tests / Custom / TimeoutTest.php
diff --git a/vendor/behat/mink-selenium2-driver/tests/Custom/TimeoutTest.php b/vendor/behat/mink-selenium2-driver/tests/Custom/TimeoutTest.php
deleted file mode 100644 (file)
index 7cda495..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-
-namespace Behat\Mink\Tests\Driver\Custom;
-
-use Behat\Mink\Tests\Driver\TestCase;
-
-class TimeoutTest extends TestCase
-{
-    /**
-     * @expectedException \Behat\Mink\Exception\DriverException
-     */
-    public function testInvalidTimeoutSettingThrowsException()
-    {
-        $this->getSession()->getDriver()->setTimeouts(array('invalid' => 0));
-    }
-
-    public function testShortTimeoutDoesNotWaitForElementToAppear()
-    {
-        $this->getSession()->getDriver()->setTimeouts(array('implicit' => 0));
-
-        $this->getSession()->visit($this->pathTo('/js_test.html'));
-        $this->findById('waitable')->click();
-
-        $element = $this->getSession()->getPage()->find('css', '#waitable > div');
-
-        $this->assertNull($element);
-    }
-
-    public function testLongTimeoutWaitsForElementToAppear()
-    {
-        $this->getSession()->getDriver()->setTimeouts(array('implicit' => 5000));
-
-        $this->getSession()->visit($this->pathTo('/js_test.html'));
-        $this->findById('waitable')->click();
-        $element = $this->getSession()->getPage()->find('css', '#waitable > div');
-
-        $this->assertNotNull($element);
-    }
-}