From 338c3ca11931bfe79bd8f06fe8a35d784a6e58e2 Mon Sep 17 00:00:00 2001 From: Marc Berger Date: Wed, 4 Dec 2024 12:05:42 -0800 Subject: [PATCH] test(SHS-5958): Update test to refelect new buttons --- .../codeception/functional/Install/Content/FlexiblePageCest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/codeception/functional/Install/Content/FlexiblePageCest.php b/tests/codeception/functional/Install/Content/FlexiblePageCest.php index 559d787002..f6d6e39b52 100644 --- a/tests/codeception/functional/Install/Content/FlexiblePageCest.php +++ b/tests/codeception/functional/Install/Content/FlexiblePageCest.php @@ -91,7 +91,7 @@ public function testHeroParagraph(FunctionalTester $I) { // Prevent JS alerts from firing before loading a new page. $I->executeJS('window.onbeforeunload = undefined;'); $I->fillField('Title', 'Demo Basic Page'); - $I->click('#edit-field-hs-page-components-add-more-add-modal-form-area-add-more'); + $I->click('#field-hs-page-components-values .paragraphs-features__add-in-between__button'); $I->waitForText('Add Component'); $I->fillField('.paragraphs-ee-add-dialog input[type="search"]', 'Banner'); $I->click('Banner image with full overlay and text', '.paragraphs-ee-add-dialog');