From c32c24472457eb320a2c5b1c139b8c205211d8fc Mon Sep 17 00:00:00 2001 From: Karolina Rakoczy Date: Thu, 11 Feb 2021 19:47:01 +0100 Subject: [PATCH] fix regex for orders --- cypress/integration/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/dashboard.js b/cypress/integration/dashboard.js index 8796f0b4e..99c247b30 100644 --- a/cypress/integration/dashboard.js +++ b/cypress/integration/dashboard.js @@ -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*/); });