Skip to content

Commit e3678cf

Browse files
AC-103: Update Third Party library: spectrum/spectrum
1 parent ffda932 commit e3678cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderCommonTest/EditPanelColorPickerWindowFunctionalityTest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,14 @@
7474
<!-- Validate Light/Dark Slider -->
7575
<comment userInput="Validate Light/Dark Slider" stepKey="commentLightDarkSlider"/>
7676
<click selector="{{ColorPicker.lightDarkSlider}}" stepKey="clickLightDarkSlider"/>
77+
<waitForElementVisible selector="{{ColorPicker.panelColorSwatch(PageBuilderBackgroundColor_CenterColorHueSlider.section, PageBuilderBackgroundColor_CenterColorHueSlider.fieldName)}}" stepKey="waitForColorSwatchColor4"/>
7778
<executeJS function="return window.getComputedStyle(document.evaluate(&quot;{{ColorPicker.panelColorSwatch(PageBuilderBackgroundColor_CenterColorHueSlider.section, PageBuilderBackgroundColor_CenterColorHueSlider.fieldName)}}//div&quot;, document.body).iterateNext()).backgroundColor" stepKey="grabBackgroundColorValue"/>
78-
<assertRegExp stepKey="assertColorSwatchColor">
79+
<assertRegExp stepKey="seeColorInSwatch">
7980
<expectedResult type="string">/{{PageBuilderBackgroundColor_CenterColorHueSlider.rgbaCenterOfLightDarkSliderRegex}}/</expectedResult>
8081
<actualResult type="variable">grabBackgroundColorValue</actualResult>
8182
</assertRegExp>
8283
<grabValueFrom selector="{{ColorPicker.inputField}}" stepKey="grabColorFromInput" />
83-
<assertRegExp stepKey="assertColorInInputField">
84+
<assertRegExp stepKey="seeColorInInputField4">
8485
<expectedResult type="string">/{{PageBuilderBackgroundColor_CenterColorHueSlider.rgbaCenterOfLightDarkSliderRegex}}/</expectedResult>
8586
<actualResult type="variable">grabColorFromInput</actualResult>
8687
</assertRegExp>

0 commit comments

Comments
 (0)