Skip to content

Commit d633ff7

Browse files
committed
ACQE-6225: fix currency test
1 parent fa7d80f commit d633ff7

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
@@ -70,10 +70,10 @@
7070
<actionGroup ref="AdminReloadDashboardDataActionGroup" stepKey="reloadDashboardData" />
7171
<!--Verify there is a space between custom currency symbol respective amounts on admin dashboard-->
7272
<grabTextFrom selector="{{AdminDashboardSection.dashboardTotals('Revenue')}}" stepKey="grabStartQuantity"/>
73-
<assertEquals stepKey="assertInputIsDisabled">
73+
<assertRegExp stepKey="assertInputIsDisabled">
7474
<actualResult type="const">$grabStartQuantity</actualResult>
75-
<expectedResult type="string">IDRx 0.00</expectedResult>
76-
</assertEquals>
75+
<expectedResult type="string">/IDRx \d+\.\d+/</expectedResult>
76+
</assertRegExp>
7777

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

0 commit comments

Comments
 (0)