-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENGCOM-6966: Fixed issue 25910 choose drop down not close when open a…
…nother #26090 - Merge Pull Request #26090 from Usik2203/magento2:fixed-drop-down-not-close-when-open-another-for-swatch - Merged commits: 1. 423a4da 2. 96a9f3a 3. 2527b04 4. 5f14e0e 5. 7cd12dd
- Loading branch information
Showing
3 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
app/code/Magento/Swatches/Test/Mftf/Test/AdminCheckColorUploadChooserVisualSwatchTest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd"> | ||
<test name="AdminCheckColorUploadChooserVisualSwatchTest"> | ||
<annotations> | ||
<features value="Swatches"/> | ||
<stories value="Check correct view of visual swatches"/> | ||
<title value="Correct view of Swatches while choosing color or upload image"/> | ||
<description value="Correct view of Swatches while choosing color or upload image"/> | ||
<severity value="AVERAGE"/> | ||
<group value="Swatches"/> | ||
</annotations> | ||
<before> | ||
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> | ||
</before> | ||
<amOnPage url="{{ProductAttributePage.url}}" stepKey="addNewProductAttribute"/> | ||
<selectOption selector="{{AttributePropertiesSection.InputType}}" | ||
userInput="{{visualSwatchAttribute.input_type}}" stepKey="fillInputType"/> | ||
|
||
<click selector="{{AdminManageSwatchSection.addSwatch}}" stepKey="clickAddSwatch1"/> | ||
<click selector="{{AdminManageSwatchSection.addSwatch}}" stepKey="clickAddSwatch2"/> | ||
<click selector="{{AdminManageSwatchSection.addSwatch}}" stepKey="clickAddSwatch3"/> | ||
<click selector="{{AdminManageSwatchSection.nthVisualSwatch('3')}}" stepKey="clickSwatch3"/> | ||
|
||
<click selector="{{AdminManageSwatchSection.nthVisualSwatch('2')}}" stepKey="clickSwatch2"/> | ||
<seeElement selector="{{AdminManageSwatchSection.chooserBlock('2')}}" stepKey="seeSwatch2"/> | ||
<dontSeeElement selector="{{AdminManageSwatchSection.chooserBlock('3')}}" stepKey="dontSeeSwatch3"/> | ||
|
||
<click selector="{{AdminManageSwatchSection.nthVisualSwatch('1')}}" stepKey="clickSwatch1"/> | ||
<seeElement selector="{{AdminManageSwatchSection.chooserBlock('1')}}" stepKey="seeSwatch1"/> | ||
<dontSeeElement selector="{{AdminManageSwatchSection.chooserBlock('2')}}" stepKey="dontSeeSwatch2"/> | ||
</test> | ||
</tests> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters