diff -u b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php --- b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php +++ b/core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php @@ -53,11 +53,14 @@ $page->findField('page[link]')->click(); $this->assertEquals($label_value, $page->findField('page[link_properties][title]')->getValue()); + // Wait for conditional field to show. + $page->waitForElementVisible('page[link_properties][parent]'); + // Assert a menu can be selected as a parent. $this->assertSession()->optionExists('page[link_properties][parent]', 'admin:'); // Assert a parent menu item can be selected from within a menu. - $this->assertSession()->optionExists('page[link_properties][parent]', 'admin:system.admin'); + $this->assertSession()->optionExists('page[link_properties][parent]', 'admin:entity.view.collection'); // Add a block display. $page->findField('block[create]')->click();