X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FFunctionalJavascriptTests%2FJavascriptTestBase.php;h=8aa46c7ec1a3a47c82b5634cbe9ad0ef9c6aea36;hp=d5156eeb5cb6d469b59478f846b3a5644111df23;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php b/web/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php index d5156eeb5..8aa46c7ec 100644 --- a/web/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php +++ b/web/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php @@ -7,7 +7,7 @@ use Zumba\GastonJS\Exception\DeadClient; use Zumba\Mink\Driver\PhantomJSDriver; /** - * Runs a browser test using PhantomJS. + * Runs a browser test using a driver that supports Javascript. * * Base class for testing browser interaction implemented in JavaScript. */ @@ -142,7 +142,7 @@ abstract class JavascriptTestBase extends BrowserTestBase { * {@inheritdoc} */ public function assertSession($name = NULL) { - return new JSWebAssert($this->getSession($name), $this->baseUrl); + return new WebDriverWebAssert($this->getSession($name), $this->baseUrl); } /**