Skip to content

Commit 00094dc

Browse files
committed
MC-244: Admin should be able to create a simple product using a custom attribute set
- Remove some unnecessary waits
1 parent fc13317 commit 00094dc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Section/AdminProductFormSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<section name="AdminProductFormSection">
1111
<element name="attributeSet" type="select" selector="div[data-index='attribute_set_id'] .admin__field-control"/>
1212
<element name="attributeSetFilter" type="input" selector="div[data-index='attribute_set_id'] .admin__field-control input"/>
13-
<element name="attributeSetFilterResult" type="input" selector="div[data-index='attribute_set_id'] .action-menu-item._last"/>
13+
<element name="attributeSetFilterResult" type="input" selector="div[data-index='attribute_set_id'] .action-menu-item._last" timeout="30"/>
1414
<element name="productName" type="input" selector=".admin__field[data-index=name] input"/>
1515
<element name="productSku" type="input" selector=".admin__field[data-index=sku] input"/>
1616
<element name="productStatus" type="checkbox" selector="input[name='product[status]']"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Test/AdminCreateProductCustomAttributeSet.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
<amOnPage url="{{AdminProductCreatePage.url('4', 'simple')}}" stepKey="goToNewProductPage"/>
5757
<waitForPageLoad stepKey="wait2"/>
5858
<click selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="expandSEOSection"/>
59-
<waitForPageLoad stepKey="wait3"/>
6059
<seeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('meta_keyword')}}" stepKey="seeMetaKeyword"/>
6160
<dontSeeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('testgroupname')}}" stepKey="dontSeeTestGroupName"/>
6261

@@ -66,7 +65,6 @@
6665
<click selector="{{AdminProductFormSection.attributeSet}}" stepKey="startEditAttrSet"/>
6766
<fillField selector="{{AdminProductFormSection.attributeSetFilter}}" userInput="{{ProductAttributeFrontendLabel.label}}" stepKey="searchForAttrSet"/>
6867
<click selector="{{AdminProductFormSection.attributeSetFilterResult}}" stepKey="selectAttrSet"/>
69-
<waitForPageLoad stepKey="wait4"/>
7068

7169
<!-- See new attibute set -->
7270
<seeElementInDOM selector="{{AdminProductFormSection.divByDataIndex('testgroupname')}}" stepKey="seeTestGroupName"/>

0 commit comments

Comments
 (0)