diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php index 10aa88e..dcd5d9b 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/Core/MachineNameTest.php @@ -97,7 +97,7 @@ public function testMachineName() { // Validate the machine name field is hidden. Elements are visually hidden // using positioning, isVisible() will therefore not work. - $this->assertEquals(TRUE, $machine_name_1_wrapper->hasClass('visually-hidden'), 'The ID field must not be visible'); + $this->assertEquals(TRUE, $machine_name_1_wrapper->hasClass('hidden'), 'The ID field must not be visible'); $this->assertEquals(TRUE, $machine_name_2_wrapper->hasClass('visually-hidden'), 'The ID field must not be visible'); // Test switching back to the manual editing mode by clicking the edit link.