Skip to content

Commit ef8c8df

Browse files
committed
Update test case ids and add minor fixes
1 parent 7e6c9c0 commit ef8c8df

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
<element name="selectFirstRow" type="button" selector="//button[@class='action-select']"/>
1616
<element name="deleteBtn" type="button" selector="//*[text()='Delete']"/>
1717
<element name="clearAllBtn" type="button" selector="//button[text()='Clear all']"/>
18-
<element name="editButtonByCustomerGroupCode" type="button" selector="//tr[.//td[count(//th[./*[.='Group']]/preceding-sibling::th) + 1][./*[.='{{code}}']]]//a[contains(@href, '/edit/')]" parametrized="true" />
18+
<element name="editButtonByCustomerGroupCode" type="button" selector="//tr[.//td[count(//th[./*[.='Group']]/preceding-sibling::th) + 1][./*[.='{{code}}']]]//a[contains(@href, '/edit/')]" parameterized="true" />
1919
</section>
2020
</sections>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<stories value="Check that field is disabled in system Customer Group"/>
1414
<title value="Check that field is disabled in system Customer Group"/>
1515
<description value="Checks that customer_group_code field is disabled in NOT LOGGED IN Customer Group"/>
16-
<testCaseId value="MAGETWO-52481"/>
16+
<testCaseId value="MC-14206"/>
1717
<severity value="CRITICAL"/>
1818
<group value="customers"/>
1919
<group value="mtf_migrated"/>
@@ -32,7 +32,7 @@
3232
<click selector="{{AdminCustomerGroupMainSection.editButtonByCustomerGroupCode(NotLoggedInCustomerGroup.code)}}" stepKey="clickOnEditCustomerGroup" />
3333

3434
<!-- 4. Perform all assertions -->
35-
<seeInField selector="{{AdminNewCustomerGroupSection.groupName}}" userInput="NOT LOGGED IN" stepKey="seeNotLoggedInTextInGroupName" />
35+
<seeInField selector="{{AdminNewCustomerGroupSection.groupName}}" userInput="{{NotLoggedInCustomerGroup.code}}" stepKey="seeNotLoggedInTextInGroupName" />
3636
<assertElementContainsAttribute selector="{{AdminNewCustomerGroupSection.groupName}}" attribute="disabled" expectedValue="true" stepKey="checkIfGroupNameIsDisabled" />
3737
</test>
38-
</tests>
38+
</tests>

app/code/Magento/PageCache/Test/Mftf/Test/FlushStaticFilesCacheButtonVisibilityTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111
<test name="FlushStaticFilesCacheButtonVisibilityTest">
1212
<annotations>
1313
<features value="PageCache"/>
14+
<stories value="Page Cache"/>
1415
<title value="Check visibility of flush static files cache button"/>
1516
<description value="Flush Static Files Cache button visibility"/>
1617
<severity value="MAJOR"/>
17-
<stories value="Check flush static files cache button"/>
18+
<testCaseId value="MC-15454"/>
1819
<group value="production_mode_only"/>
1920
<group value="pagecache"/>
2021
<group value="mtf_migrated"/>

dev/tests/functional/tests/app/Magento/PageCache/Test/TestCase/FlushStaticFilesCacheButtonVisibilityTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/variations.xsd">
99
<testCase name="Magento\PageCache\Test\TestCase\FlushStaticFilesCacheButtonVisibilityTest" summary="Flush Static Files Cache button visibility" ticketId="MAGETWO-39934">
1010
<variation name="FlushStaticFilesCacheButtonVisibilityTest">
11-
<data name="tag" xsi:type="string">severity:S3</data>
11+
<data name="tag" xsi:type="string">severity:S3, mftf_migrated:yes</data>
1212
<constraint name="Magento\PageCache\Test\Constraint\AssertFlushStaticFilesCacheButtonVisibility" />
1313
</variation>
1414
</testCase>

0 commit comments

Comments
 (0)