Skip to content

Commit bf66499

Browse files
committed
MC-3080: Admin can create product attribute with picked color swatch
- Fix code review feedback regarding stepKeys in the before block
1 parent fc020bd commit bf66499

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

app/code/Magento/Swatches/Test/Mftf/Test/AdminConfigureSwatchesTest.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@
2323
</before>
2424
<after>
2525
<!-- Clean up our modifications to the existing color attribute -->
26-
<amOnPage url="{{AdminProductAttributeGridPage.url}}" stepKey="goToProductAttributes2"/>
27-
<waitForPageLoad stepKey="waitForProductAttributes2"/>
28-
<fillField selector="{{AdminProductAttributeGridSection.FilterByAttributeCode}}" userInput="color" stepKey="fillFilter2"/>
29-
<click selector="{{AdminProductAttributeGridSection.Search}}" stepKey="clickSearch2"/>
30-
<click selector="{{AdminProductAttributeGridSection.AttributeCode('color')}}" stepKey="clickRowToEdit2"/>
26+
<amOnPage url="{{AdminProductAttributeGridPage.url}}" stepKey="goToProductAttributes"/>
27+
<waitForPageLoad stepKey="waitForProductAttributes"/>
28+
<fillField selector="{{AdminProductAttributeGridSection.FilterByAttributeCode}}" userInput="color" stepKey="fillFilter"/>
29+
<click selector="{{AdminProductAttributeGridSection.Search}}" stepKey="clickSearch"/>
30+
<click selector="{{AdminProductAttributeGridSection.AttributeCode('color')}}" stepKey="clickRowToEdit"/>
3131
<click selector="{{AdminManageSwatchSection.nthDelete('1')}}" stepKey="deleteSwatch1"/>
3232
<click selector="{{AdminManageSwatchSection.nthDelete('2')}}" stepKey="deleteSwatch2"/>
3333
<click selector="{{AdminManageSwatchSection.nthDelete('3')}}" stepKey="deleteSwatch3"/>
34-
<waitForPageLoad stepKey="waitToClickSave2"/>
35-
<click selector="{{AttributePropertiesSection.SaveAndEdit}}" stepKey="clickSaveAndEdit2"/>
34+
<waitForPageLoad stepKey="waitToClickSave"/>
35+
<click selector="{{AttributePropertiesSection.SaveAndEdit}}" stepKey="clickSaveAndEdit"/>
3636
<!-- Logout -->
3737
<amOnPage url="admin/admin/auth/logout/" stepKey="amOnLogoutPage"/>
3838
</after>

0 commit comments

Comments
 (0)