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 68
68
userInput =" red" stepKey =" fillAdmin1" />
69
69
70
70
<!-- Add 2 additional new swatch options -->
71
+ <waitForElementClickable selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" waitAddSwatch2ToBeClickable" />
71
72
<click selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" clickAddSwatch2" />
72
73
<actionGroup ref =" OpenSwatchMenuByIndexActionGroup" stepKey =" clickSwatch2" >
73
74
<argument name =" index" value =" 1" />
80
81
<fillField selector =" {{AdminManageSwatchSection.adminInputByIndex('1')}}"
81
82
userInput =" green" stepKey =" fillAdmin2" />
82
83
84
+ <waitForElementClickable selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" waitAddSwatch3ToBeClickable" />
83
85
<click selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" clickAddSwatch3" />
84
86
<actionGroup ref =" OpenSwatchMenuByIndexActionGroup" stepKey =" clickSwatch3" >
85
87
<argument name =" index" value =" 2" />
93
95
userInput =" blue" stepKey =" fillAdmin3" />
94
96
95
97
<!-- Mark second option as default -->
98
+ <scrollTo selector =" {{AdminManageSwatchSection.manageSwatchSection}}" stepKey =" scrollToManageSwatchSection" />
99
+ <waitForElementClickable selector =" {{AdminManageSwatchSection.nthIsDefault('2')}}" stepKey =" waitForSetSecondOptionAsDefault" />
96
100
<click selector =" {{AdminManageSwatchSection.nthIsDefault('2')}}" stepKey =" setSecondOptionAsDefault" />
97
101
98
102
<!-- Go to Storefront Properties tab -->
You can’t perform that action at this time.
0 commit comments