Skip to content

Commit a454063

Browse files
soumyautomreece
authored andcommitted
MQE-2078: [PHPUnit 9] assertContains and assertNotContains breaking changes
1 parent 2ebc24b commit a454063

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/AssertCustomerGroupNotOnCatalogPriceRuleFormActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
</arguments>
1818

1919
<grabMultiple selector="{{AdminNewCatalogPriceRule.customerGroupsOptions}}" stepKey="customerGroups"/>
20-
<assertStringNotContainsString stepKey="assertCustomerGroupNotInOptions">
20+
<assertContains stepKey="assertCustomerGroupNotInOptions">
2121
<actualResult type="variable">customerGroups</actualResult>
2222
<expectedResult type="string">{{customerGroup.code}}</expectedResult>
23-
</assertStringNotContainsString>
23+
</assertContains>
2424
</actionGroup>
2525
</actionGroups>

app/code/Magento/Cms/Test/Mftf/Test/AdminCreateCmsBlockTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="MAGETWO-89185"/>
1919
<group value="Cms"/>
20-
<group value="WYSIWYGDisabled"/>
2120
</annotations>
2221
<before>
2322
<actionGroup ref="AdminLoginActionGroup" stepKey="loginGetFromGeneralFile"/>
23+
<actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYG"/>
2424
</before>
2525
<after>
2626
<actionGroup ref="deleteBlock" stepKey="deleteCreatedBlock">

app/code/Magento/Cms/Test/Mftf/Test/AdminCreateCmsBlockWithMarginalSpaceTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<description value="Admin can not able create a CMS block with marginal space in identifier field"/>
1717
<severity value="CRITICAL"/>
1818
<group value="Cms"/>
19-
<group value="WYSIWYGDisabled"/>
2019
</annotations>
2120
<before>
2221
<actionGroup ref="AdminLoginActionGroup" stepKey="loginGetFromGeneralFile"/>
22+
<actionGroup ref="DisabledWYSIWYGActionGroup" stepKey="disableWYSIWYG"/>
2323
</before>
2424

2525
<amOnPage url="{{CmsNewBlock.url}}" stepKey="amOnBlocksCreationForm"/>

0 commit comments

Comments
 (0)