File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/code/Magento/Swatches/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 6868 userInput =" red" stepKey =" fillAdmin1" />
6969
7070 <!-- Add 2 additional new swatch options -->
71+ <waitForElementClickable selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" waitAddSwatch2ToBeClickable" />
7172 <click selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" clickAddSwatch2" />
7273 <actionGroup ref =" OpenSwatchMenuByIndexActionGroup" stepKey =" clickSwatch2" >
7374 <argument name =" index" value =" 1" />
8081 <fillField selector =" {{AdminManageSwatchSection.adminInputByIndex('1')}}"
8182 userInput =" green" stepKey =" fillAdmin2" />
8283
84+ <waitForElementClickable selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" waitAddSwatch3ToBeClickable" />
8385 <click selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" clickAddSwatch3" />
8486 <actionGroup ref =" OpenSwatchMenuByIndexActionGroup" stepKey =" clickSwatch3" >
8587 <argument name =" index" value =" 2" />
9395 userInput =" blue" stepKey =" fillAdmin3" />
9496
9597 <!-- Mark second option as default -->
98+ <scrollTo selector =" {{AdminManageSwatchSection.manageSwatchSection}}" stepKey =" scrollToManageSwatchSection" />
99+ <waitForElementClickable selector =" {{AdminManageSwatchSection.nthIsDefault('2')}}" stepKey =" waitForSetSecondOptionAsDefault" />
96100 <click selector =" {{AdminManageSwatchSection.nthIsDefault('2')}}" stepKey =" setSecondOptionAsDefault" />
97101
98102 <!-- Go to Storefront Properties tab -->
You can’t perform that action at this time.
0 commit comments