diff --git a/_support/Step/Acceptance/ContentType.php b/_support/Step/Acceptance/ContentType.php index 4e383108e1cf7df4e41134887be03cc793575478..c496db0f2b39197535dede86a0d049c3b22de4fb 100644 --- a/_support/Step/Acceptance/ContentType.php +++ b/_support/Step/Acceptance/ContentType.php @@ -244,6 +244,7 @@ class ContentType extends \AcceptanceTester { $i->waitForText('Edit layout for'); // Click on the add block. + $i->waitForText('Add block'); $i->click('Add block'); $i->waitForText('Choose a block'); @@ -256,6 +257,7 @@ class ContentType extends \AcceptanceTester { $i->fillCkEditor($i->uwRandomString(), 'textarea[name="settings[block_form][field_uw_copy_text][0][value]"]'); // Click add block and ensure it appears on page. + $i->waitForText('Add block'); $i->click('Add block'); $i->waitForElement(Locator::contains('div[class="uw-admin-label"]', 'Copy text')); $i->seeElement(Locator::contains('div[class="uw-admin-label"]', 'Copy text'));