diff --git a/tests/src/FunctionalJavascript/EventBundleTest.php b/tests/src/FunctionalJavascript/EventBundleTest.php index 52cdb82a413a8ae7e8df12e9e2162d7938ee645f..64a2b98806ff3d4bc0204218a8fdcae6894b32f7 100644 --- a/tests/src/FunctionalJavascript/EventBundleTest.php +++ b/tests/src/FunctionalJavascript/EventBundleTest.php @@ -61,7 +61,7 @@ class EventBundleTest extends WebDriverTestBase { $page = $this->getSession()->getPage(); $page->fillField('label', 'Test bundle selection Ajax rule'); // The machine name field should be automatically filled via Ajax. - $assert->assertWaitOnAjaxRequest(); + $assert->waitForElementVisible('css', '.machine-name-value'); // Select the "After saving a new taxonomy term" event. $page->findField('events[0][event_name]')->selectOption('rules_entity_insert:taxonomy_term');