Skip to content

Commit c706c37

Browse files
author
Stas Puga
committed
MAGETWO-92954: Automate with MFTF Assign/Unassign attributes to/from Attribute Set
1 parent bac4165 commit c706c37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontProductsCompareWithEmptyAttributeTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<amOnPage url="{{AdminProductAttributeSetGridPage.url}}" stepKey="amOnAttributeSetPage"/>
3838
<click selector="{{AdminProductAttributeSetGridSection.attributeSetName('Default')}}" stepKey="chooseDefaultAttributeSet"/>
3939
<waitForPageLoad stepKey="waitForAttributeSetPageLoad"/>
40-
<dragAndDrop selector1="{{AdminProductAttributeUnassignedSection.productAttributeName('testattribute')}}" selector2="{{AdminProductAttributeGroupSection.folderName('Product Details')}}" stepKey="moveProductAttributeToGroup"/>
40+
<dragAndDrop selector1="{{AdminProductAttributeUnassignedSection.productAttributeName('$$createProductAttribute.attribute_code$$')}}" selector2="{{AdminProductAttributeGroupSection.folderName('Product Details')}}" stepKey="moveProductAttributeToGroup"/>
4141
<click selector="{{AdminProductAttributeSetSection.save}}" stepKey="saveAttributeSet"/>
4242
<waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear" />
4343
<seeElement selector=".message-success" stepKey="assertSuccess"/>
@@ -80,6 +80,6 @@
8080
<argument name="productVar" value="$$createSimpleProduct1$$"/>
8181
</actionGroup>
8282
<seeElement selector="{{StorefrontProductCompareMainSection.productAttributeByName('SKU')}}" stepKey="seeCompareAttributeSku"/>
83-
<dontSeeElement selector="{{StorefrontProductCompareMainSection.productAttributeByName('testattribute')}}" stepKey="dontSeeCompareTestAttribute"/>
83+
<dontSeeElement selector="{{StorefrontProductCompareMainSection.productAttributeByName('$$createProductAttribute.attribute_code$$')}}" stepKey="dontSeeCompareTestAttribute"/>
8484
</test>
8585
</tests>

0 commit comments

Comments
 (0)