Skip to content

Commit ff8667b

Browse files
ACQE-6323: added regex expression
1 parent 3854147 commit ff8667b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Directory/Test/Mftf/Test/CustomCurrencySymbolWithSpaceTest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@
7272
<actionGroup ref="AdminReloadDashboardDataActionGroup" stepKey="reloadDashboardData" />
7373
<!--Verify there is a space between custom currency symbol respective amounts on admin dashboard-->
7474
<grabTextFrom selector="{{AdminDashboardSection.dashboardTotals('Revenue')}}" stepKey="grabStartQuantity"/>
75-
<assertEquals stepKey="assertInputIsDisabled">
75+
<assertRegExp stepKey="assertInputIsDisabled">
7676
<actualResult type="const">$grabStartQuantity</actualResult>
77-
<expectedResult type="string">IDRx 0.00</expectedResult>
78-
</assertEquals>
77+
<expectedResult type="string">/IDRx \d+\.\d+/</expectedResult>
78+
</assertRegExp>
7979

8080
<!--Verify Category in store front page-->
8181
<amOnPage url="{{StorefrontCategoryPage.url($createDefaultCategory.custom_attributes[url_key]$)}}" stepKey="openStorefrontCategoryPage"/>

0 commit comments

Comments
 (0)