Skip to content

Commit

Permalink
Update MFTF test.
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Kilo committed Jun 9, 2020
1 parent 8a9dec2 commit 4c3aaf6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
<element name="currentPage" type="text" selector=".order-products-toolbar .pages .current span:nth-of-type(2)"/>
<element name="pageNumber" type="text" selector="//*[@class='order-products-toolbar toolbar bottom']//a[contains(@class, 'page')]//span[2][contains(text() ,'{{var1}}')]" parameterized="true"/>
<element name="perPage" type="select" selector="//*[@class='order-products-toolbar toolbar bottom']//select[@id='limiter']"/>
<element name="rowsInColumn" type="text" selector="//tbody/tr/td[contains(@class, '{{column}}')]" parameterized="true"/>
</section>
</sections>
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="StorefrontCustomerAccountOrderListTest">
<annotations>
<stories value="Customer Account Order History List"/>
<title value="Customer Account Order History List."/>
<description value="Login to Customer Account and navigate on Order History page."/>
<stories value="Frontend Customer Account Orders list"/>
<title value="Verify that the list of Orders is displayed in the grid after changing the number of items on the page"/>
<description value="Verify that the list of Orders is displayed in the grid after changing the number of items on the page."/>
<severity value="CRITICAL"/>
<testCaseId value="MC-34953"/>
<group value="customer"/>
</annotations>

<before>
Expand Down Expand Up @@ -136,5 +137,8 @@
<dontSee selector="{{StorefrontOrderInformationMainSection.emptyMessage}}"
userInput="You have placed no orders." stepKey="dontSeeEmptyMessage"/>

<seeNumberOfElements selector="{{StorefrontCustomerOrderSection.rowsInColumn('id')}}" userInput="15"
stepKey="seeRowsCount"/>

</test>
</tests>

0 comments on commit 4c3aaf6

Please sign in to comment.