Skip to content

Commit 369fd1d

Browse files
committed
MAGETWO-86480: Restricted admin user can remove product from other websites
1 parent 743c96a commit 369fd1d

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

app/code/Magento/Catalog/Test/Mftf/Section/AdminProductFormSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<section name="ProductInWebsitesSection">
3434
<element name="sectionHeader" type="button" selector="div[data-index='websites']" timeout="30"/>
3535
<element name="website" type="checkbox" selector="//label[contains(text(), '{{var1}}')]/parent::div//input[@type='checkbox']" parameterized="true"/>
36+
<element name="isWebsiteDisabled" type="checkbox" selector="//label[contains(text(), '{{websiteName}}')]/parent::div//input[@type='checkbox' and @disabled]" parameterized="true"/>
3637
</section>
3738
<section name="ProductWYSIWYGSection">
3839
<element name="Switcher" type="button" selector="//select[@id='dropdown-switcher']"/>

app/code/Magento/Catalog/Test/Mftf/Section/ProductInWebsitesSection.xml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)