Skip to content

Commit e1c9aa6

Browse files
committed
MC-4254: Text Height Inconsistency On Stage & Storefront
- update test with action group
1 parent e2f67e5 commit e1c9aa6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderTextTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2761,7 +2761,9 @@
27612761
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
27622762
<!--Get storefront information-->
27632763
<comment userInput="Get storefront information" stepKey="commentGetStorefrontInformation"/>
2764-
<amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
2764+
<actionGroup ref="navigateToStorefrontForCreatedPage" stepKey="navigateToStoreFront">
2765+
<argument name="page" value="$$createCMSPage.identifier$$"/>
2766+
</actionGroup>
27652767
<waitForPageLoad stepKey="waitForStorefront"/>
27662768
<waitForElement selector="{{TextOnStorefront.base('1')}}" stepKey="waitForTextOnStorefront"/>
27672769
<executeJS function="return document.evaluate(&quot;{{TextOnStorefront.base('1'))}}&quot;, document.body).iterateNext().offsetHeight;" stepKey="getTextOnStorefrontHeight"/>

0 commit comments

Comments
 (0)