Fix regex in sales
This commit is contained in:
parent
7bb8a8fee2
commit
6e66ccc0f6
1 changed files with 1 additions and 1 deletions
|
@ -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*/);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue