File tree 2 files changed +3
-0
lines changed
app/code/Magento/Swatches/Test/Mftf 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 18
18
<element name =" nthIsDefault" type =" input" selector =" (//input[@name='defaultvisual[]'])[{{var}}]" parameterized =" true" />
19
19
<element name =" nthSwatchAdminDescription" type =" input" selector =" #swatch-text-options-panel table tbody tr:nth-of-type({{var}}) td:nth-of-type(4) input" parameterized =" true" />
20
20
<element name =" nthVisualSwatch" type =" button" selector =" #swatch-visual-options-panel table tbody tr:nth-of-type({{var}}) .swatches-visual-col" parameterized =" true" />
21
+ <element name =" chooserBlock" type =" block" selector =" #swatch-visual-options-panel table tbody tr:nth-of-type({{var}}) .swatches-visual-col .swatch_sub-menu_container" parameterized =" true" />
21
22
<!-- Selector for Admin Description input where the index is zero-based -->
22
23
<element name =" swatchAdminDescriptionByIndex" type =" input" selector =" input[name='optiontext[value][option_{{index}}][0]']" parameterized =" true" />
23
24
<element name =" nthChooseColor" type =" button" selector =" #swatch-visual-options-panel table tbody tr:nth-of-type({{var}}) .swatch_row_name.colorpicker_handler" parameterized =" true" />
Original file line number Diff line number Diff line change 28
28
<click selector =" {{AdminManageSwatchSection.addSwatch}}" stepKey =" clickAddSwatch3" />
29
29
<click selector =" {{AdminManageSwatchSection.nthVisualSwatch('3')}}" stepKey =" clickSwatch3" />
30
30
<click selector =" {{AdminManageSwatchSection.nthVisualSwatch('2')}}" stepKey =" clickSwatch2" />
31
+ <dontSeeElement selector =" {{AdminManageSwatchSection.chooserBlock('3')}}" stepKey =" dontSeeSwatch3" />
31
32
<click selector =" {{AdminManageSwatchSection.nthVisualSwatch('1')}}" stepKey =" clickSwatch1" />
33
+ <dontSeeElement selector =" {{AdminManageSwatchSection.chooserBlock('2')}}" stepKey =" dontSeeSwatch2" />
32
34
</test >
33
35
</tests >
You can’t perform that action at this time.
0 commit comments