Skip to content

Commit

Permalink
MQE-1033: Validate duplicate element names in the same file (Section,…
Browse files Browse the repository at this point in the history
… Data, Metadata, Page) (#58)

- fixed dupes
  • Loading branch information
KevinBKozan authored Jun 22, 2018
1 parent ee46647 commit 3336bca
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<data key="status">1</data>
<data key="visibility">4</data>
<data key="option_title" unique="suffix">TestOption</data>
<data key="input_type" >Drop-down</data>
<data key="default_quantity1" >10</data>
<data key="default_quantity2" >20</data>
<data key="input_type" >Drop-down</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
<entity name="CustomAttributeProductAttribute" type="custom_attribute">
<var key="attribute_code" entityKey="attribute_code" entityType="ProductAttribute"/>
<var key="value" entityKey="value" entityType="ProductAttributeOption"/>
<data key="value">test product attribute</data>
<data key="attribute_code">test_product_attribute</data>
</entity>
<entity name="ApiProductDescription" type="custom_attribute">
<data key="attribute_code">description</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</section>
<section name="ProductWYSIWYGSection">
<element name="Switcher" type="button" selector="//select[@id='dropdown-switcher']"/>
<element name="v4" type ="button" selector="//select[@id='dropdown-switcher']/option[text()='TinyMCE 4.3.6']" />
<element name="v436" type ="button" selector="//select[@id='dropdown-switcher']/option[text()='TinyMCE 4.3.6']" />
<element name="v3" type ="button" selector="//select[@id='dropdown-switcher']/option[text()='TinyMCE 3.6(Deprecated)']" />
<element name="TinymceDescription3" type ="button" selector="//span[text()='Description']" />
<element name="Tinymce3MSG" type="button" selector=".admin__field-error"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<element name="region" type="select" selector="select[name=region_id]"/>
<element name="postcode" type="input" selector="input[name=postcode]"/>
<element name="telephone" type="input" selector="input[name=telephone]"/>
<element name="next" type="button" selector="button.button.action.continue.primary"/>
<element name="firstShippingMethod" type="radio" selector="#checkout-shipping-method-load input[type='radio']"/>
<element name="selectedShippingAddress" type="text" selector=".shipping-address-item.selected-item"/>
<element name="newAddressButton" type="button" selector="#checkout-step-shipping button"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
<section name="StorefrontMinicartSection">
<element name="productCount" type="text" selector="//header//div[contains(@class, 'minicart-wrapper')]//a[contains(@class, 'showcart')]//span[@class='counter-number']"/>
<element name="viewAndEditCart" type="button" selector="//header//div[contains(@class, 'minicart-wrapper')]//a[contains(@class, 'viewcart')]"/>
<element name="productLinkByName" type="button" selector="//header//ol[@id='mini-cart']//div[@class='product-item-details']//a[contains(text(), '{{var1}}')]" parameterized="true"/>
<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"/>
<element name="productImageByName" type="text" selector="//header//ol[@id='mini-cart']//span[@class='product-image-container']//img[@alt='{{var1}}']" parameterized="true"/>
Expand Down

0 comments on commit 3336bca

Please sign in to comment.