diff --git a/core/modules/field/tests/src/FunctionalJavascript/Boolean/BooleanFormatterSettingsTest.php b/core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php similarity index 91% rename from core/modules/field/tests/src/FunctionalJavascript/Boolean/BooleanFormatterSettingsTest.php rename to core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php index 39c1802df8..63517f528b 100644 --- a/core/modules/field/tests/src/FunctionalJavascript/Boolean/BooleanFormatterSettingsTest.php +++ b/core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php @@ -1,19 +1,19 @@ assertSession(); foreach ($settings as $values) { // Set up the field settings. $this->drupalGet('admin/structure/types/manage/' . $this->bundle . '/fields/node.' . $this->bundle . '.' . $this->fieldName); @@ -120,8 +119,7 @@ public function testBooleanFormatterSettings() { // Open the Manage Display page and trigger the field settings form. $this->drupalGet('admin/structure/types/manage/' . $this->bundle . '/display'); - $this->getSession()->getPage()->pressButton($this->fieldName . '_settings_edit'); - $assert_session->waitForElement('css', '.ajax-new-content'); + $this->drupalPostForm(NULL, [], $this->fieldName . '_settings_edit'); // Test that the settings options are present in the correct format. foreach ($options as $string) {