Mercurial > hg > isophonics-drupal-site
comparison core/tests/Drupal/FunctionalJavascriptTests/LegacyJavascriptTestBase.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children | 1fec387a4317 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\FunctionalJavascriptTests; | |
4 | |
5 /** | |
6 * Runs a browser test using PhantomJS. | |
7 * | |
8 * Base class for testing browser interaction implemented in JavaScript. | |
9 */ | |
10 abstract class LegacyJavascriptTestBase extends JavascriptTestBase { | |
11 | |
12 /** | |
13 * {@inheritdoc} | |
14 */ | |
15 public function assertSession($name = NULL) { | |
16 // Return a WebAssert that supports status code and header assertions. | |
17 return new JSWebAssert($this->getSession($name), $this->baseUrl); | |
18 } | |
19 | |
20 } |