Skip to content

Commit 4c3aaf6

Browse files
committed
Update MFTF test.
1 parent 8a9dec2 commit 4c3aaf6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/code/Magento/Customer/Test/Mftf/Section/StorefrontCustomerOrderSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
<element name="currentPage" type="text" selector=".order-products-toolbar .pages .current span:nth-of-type(2)"/>
2121
<element name="pageNumber" type="text" selector="//*[@class='order-products-toolbar toolbar bottom']//a[contains(@class, 'page')]//span[2][contains(text() ,'{{var1}}')]" parameterized="true"/>
2222
<element name="perPage" type="select" selector="//*[@class='order-products-toolbar toolbar bottom']//select[@id='limiter']"/>
23+
<element name="rowsInColumn" type="text" selector="//tbody/tr/td[contains(@class, '{{column}}')]" parameterized="true"/>
2324
</section>
2425
</sections>

app/code/Magento/Customer/Test/Mftf/Test/StorefrontCustomerAccountOrderListTest.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1111
<test name="StorefrontCustomerAccountOrderListTest">
1212
<annotations>
13-
<stories value="Customer Account Order History List"/>
14-
<title value="Customer Account Order History List."/>
15-
<description value="Login to Customer Account and navigate on Order History page."/>
13+
<stories value="Frontend Customer Account Orders list"/>
14+
<title value="Verify that the list of Orders is displayed in the grid after changing the number of items on the page"/>
15+
<description value="Verify that the list of Orders is displayed in the grid after changing the number of items on the page."/>
1616
<severity value="CRITICAL"/>
1717
<testCaseId value="MC-34953"/>
18+
<group value="customer"/>
1819
</annotations>
1920

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

140+
<seeNumberOfElements selector="{{StorefrontCustomerOrderSection.rowsInColumn('id')}}" userInput="15"
141+
stepKey="seeRowsCount"/>
142+
139143
</test>
140144
</tests>

0 commit comments

Comments
 (0)