diff --git a/core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php b/core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php index bc314a573d..56ca0f2d4c 100644 --- a/core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php +++ b/core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php @@ -3,7 +3,7 @@ namespace Drupal\Tests\action\FunctionalJavascript; use Drupal\Core\Url; -use Drupal\FunctionalJavascriptTests\JavascriptTestBase; +use Drupal\FunctionalJavascriptTests\WebDriverTestBase; use Drupal\system\Entity\Action; /** @@ -11,7 +11,7 @@ * * @group action */ -class ActionFormAjaxTest extends JavascriptTestBase { +class ActionFormAjaxTest extends WebDriverTestBase { /** * {@inheritdoc} @@ -33,7 +33,6 @@ protected function setUp() { public function testActionConfigurationWithAjax() { $url = Url::fromRoute('action.admin_add', ['action_id' => 'action_form_ajax_test']); $this->drupalGet($url); - $this->assertSession()->statusCodeEquals(200); $page = $this->getSession()->getPage(); $id = 'test_plugin'; diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php index f137755edb..9caab5d21d 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php @@ -6,7 +6,8 @@ /** * Runs a browser test using PhantomJS. - * @deprecated in Drupal 8.6.x, will be removed before Drupal 9.0.0. + * + * @deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. * Use \Drupal\FunctionalJavascriptTests\WebDriverTestBase instead * * Base class for testing browser interaction implemented in JavaScript. diff --git a/core/tests/Drupal/FunctionalJavascriptTests/LegacyJavascriptTestBase.php b/core/tests/Drupal/FunctionalJavascriptTests/LegacyJavascriptTestBase.php index 1faea5b52a..a7f3d08cd4 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/LegacyJavascriptTestBase.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/LegacyJavascriptTestBase.php @@ -4,7 +4,8 @@ /** * Runs a browser test using PhantomJS. - * @deprecated in Drupal 8.6.x, will be removed before Drupal 9.0.0. + * + * @deprecated in Drupal 8.5.x, will be removed before Drupal 9.0.0. * Use \Drupal\FunctionalJavascriptTests\WebDriverTestBase instead * * BC layer for testing browser interaction implemented in JavaScript.