Skip to content

Commit 3338643

Browse files
committed
B2B-1703: Add MFTF test for MC-38558
- Fixing incorrect urlKey references
1 parent 68b4fea commit 3338643

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCatalogProductPageBuilderTest/PageBuilderCatalogProductCanCreatePageBuilderProductAttributeOnProductFormTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<argument name="product" value="SimpleProduct"/>
7070
</actionGroup>
7171
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProduct"/>
72-
<amOnPage url="{{SimpleProduct.name}}.html" stepKey="navigateToProductPageOnStorefront"/>
72+
<amOnPage url="{{SimpleProduct.urlKey}}.html" stepKey="navigateToProductPageOnStorefront"/>
7373
<waitForPageLoad stepKey="waitForPageLoad5"/>
7474
<see userInput="Hello Product Page From PageBuilder" stepKey="pagebuilderContent"/>
7575
</test>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminCatalogProductPageBuilderTest/PageBuilderCatalogProductDirectivesTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
130130
<!--Go to storefront to verify Product Link-->
131131
<comment userInput="Verify directives on store front" stepKey="commentVerifyDirectivesOnSlideout"/>
132-
<amOnPage url="$$createPreReqProduct.name$$.html" stepKey="navigateToProductPage"/>
132+
<amOnPage url="$$createPreReqProduct.custom_attributes[url_key]$$.html" stepKey="navigateToProductPage"/>
133133
<comment userInput="Verify directive link on Storefront" stepKey="verifyDirectiveLinkOnStorefront"/>
134134
<waitForPageLoad stepKey="waitForPageLoad5"/>
135135
<scrollTo selector="{{StorefrontProductInfoDetailsSection.detailsTab}}" stepKey="scrollToDetailsTab"/>

0 commit comments

Comments
 (0)