Skip to content

Commit 3d28f6a

Browse files
committed
ACP2E-891: Edit cart line item configurable product failed to Pre-select Production Option in 2.4.4
- Fixed the build error.
1 parent 2818a4a commit 3d28f6a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontConfigurableProductSwatchMinimumPriceTest/StorefrontValidateConfigurableProductSwatchOptionToBePreSelectFromCartEditPageTest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@
6464
<click selector="{{AttributePropertiesSection.SaveAndEdit}}" stepKey="clickSaveAndEdit1"/>
6565
<waitForElementVisible selector="{{AdminProductMessagesSection.successMessage}}" stepKey="waitForSuccess"/>
6666

67-
<!-- Re-index and cache clear -->
68-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
69-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
70-
7167
<!--Go to product page-->
7268
<amOnPage url="{{StorefrontProductPage.url(_defaultProduct.urlKey)}}" stepKey="goToConfigurableProductPage"/>
7369
<waitForPageLoad stepKey="waitForLoadConfigurableProductPage"/>
@@ -88,6 +84,8 @@
8884
<argument name="rowNumber" value="1"/>
8985
</actionGroup>
9086

87+
<waitForElementVisible selector="{{StorefrontProductInfoMainSection.selectedSwatchValue('Blue')}}" time="30" stepKey="waitForElementSwatchColorVisible"/>
88+
9189
<see selector="{{StorefrontProductInfoMainSection.selectedSwatchValue('Blue')}}" userInput="Blue" stepKey="seeSwatchColorRemainsSelected"/>
9290
<see selector="{{StorefrontProductInfoMainSection.selectedSwatchValue('Medium')}}" userInput="Medium" stepKey="seeSwatchSizeRemainsSelected"/>
9391
</test>

0 commit comments

Comments
 (0)