Skip to content

Commit 3336bca

Browse files
authored
MQE-1033: Validate duplicate element names in the same file (Section, Data, Metadata, Page) (#58)
- fixed dupes
1 parent ee46647 commit 3336bca

File tree

5 files changed

+1
-6
lines changed

5 files changed

+1
-6
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/Data/BundleProductData.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<data key="status">1</data>
1717
<data key="visibility">4</data>
1818
<data key="option_title" unique="suffix">TestOption</data>
19-
<data key="input_type" >Drop-down</data>
2019
<data key="default_quantity1" >10</data>
2120
<data key="default_quantity2" >20</data>
2221
<data key="input_type" >Drop-down</data>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Data/CustomAttributeData.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
<entity name="CustomAttributeProductAttribute" type="custom_attribute">
2424
<var key="attribute_code" entityKey="attribute_code" entityType="ProductAttribute"/>
2525
<var key="value" entityKey="value" entityType="ProductAttributeOption"/>
26-
<data key="value">test product attribute</data>
27-
<data key="attribute_code">test_product_attribute</data>
2826
</entity>
2927
<entity name="ApiProductDescription" type="custom_attribute">
3028
<data key="attribute_code">description</data>

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
@@ -25,7 +25,7 @@
2525
</section>
2626
<section name="ProductWYSIWYGSection">
2727
<element name="Switcher" type="button" selector="//select[@id='dropdown-switcher']"/>
28-
<element name="v4" type ="button" selector="//select[@id='dropdown-switcher']/option[text()='TinyMCE 4.3.6']" />
28+
<element name="v436" type ="button" selector="//select[@id='dropdown-switcher']/option[text()='TinyMCE 4.3.6']" />
2929
<element name="v3" type ="button" selector="//select[@id='dropdown-switcher']/option[text()='TinyMCE 3.6(Deprecated)']" />
3030
<element name="TinymceDescription3" type ="button" selector="//span[text()='Description']" />
3131
<element name="Tinymce3MSG" type="button" selector=".admin__field-error"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Checkout/Section/CheckoutShippingSection.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
<element name="region" type="select" selector="select[name=region_id]"/>
1919
<element name="postcode" type="input" selector="input[name=postcode]"/>
2020
<element name="telephone" type="input" selector="input[name=telephone]"/>
21-
<element name="next" type="button" selector="button.button.action.continue.primary"/>
2221
<element name="firstShippingMethod" type="radio" selector="#checkout-shipping-method-load input[type='radio']"/>
2322
<element name="selectedShippingAddress" type="text" selector=".shipping-address-item.selected-item"/>
2423
<element name="newAddressButton" type="button" selector="#checkout-step-shipping button"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Checkout/Section/StorefrontMinicartSection.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
1111
<section name="StorefrontMinicartSection">
1212
<element name="productCount" type="text" selector="//header//div[contains(@class, 'minicart-wrapper')]//a[contains(@class, 'showcart')]//span[@class='counter-number']"/>
13-
<element name="viewAndEditCart" type="button" selector="//header//div[contains(@class, 'minicart-wrapper')]//a[contains(@class, 'viewcart')]"/>
1413
<element name="productLinkByName" type="button" selector="//header//ol[@id='mini-cart']//div[@class='product-item-details']//a[contains(text(), '{{var1}}')]" parameterized="true"/>
1514
<element name="productPriceByName" type="text" selector="//header//ol[@id='mini-cart']//div[@class='product-item-details'][.//a[contains(text(), '{{var1}}')]]//span[@class='price']" parameterized="true"/>
1615
<element name="productImageByName" type="text" selector="//header//ol[@id='mini-cart']//span[@class='product-image-container']//img[@alt='{{var1}}']" parameterized="true"/>

0 commit comments

Comments
 (0)