fix regex for orders

This commit is contained in:
Karolina Rakoczy 2021-02-11 19:47:01 +01:00
parent 6e66ccc0f6
commit c32c244724

View file

@ -139,7 +139,7 @@ describe("User authorization", () => {
.softAssertMatch(DASHBOARD_SELECTORS.productsOutOfStock, regex)
.softAssertMatch(
DASHBOARD_SELECTORS.sales,
new RegExp(`\\D+${sales}[\,\.]00\\D*`)
new RegExp(`\\D+${sales}[\,.]00\\D*`)
)
.softAssertMatch(DASHBOARD_SELECTORS.orders, /\D+2\D*/);
});