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 committed Oct 8, 2018
1 parent 1f4bbc4 commit 1b15b5c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<data key="urlKey" unique="suffix">bundleproduct</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 @@ -43,7 +43,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 @@ -19,7 +19,6 @@
<element name="postcode" type="input" selector="input[name=postcode]"/>
<element name="country" type="select" selector="select[name=country_id]"/>
<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="../../../../../../../dev/tests/acceptance/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 1b15b5c

Please sign in to comment.