add data-test-id
This commit is contained in:
parent
ecca49608a
commit
c1e9803640
2 changed files with 27 additions and 0 deletions
|
@ -131,6 +131,8 @@ describe("User authorization", () => {
|
|||
.contains(randomName)
|
||||
.click()
|
||||
.get(DASHBOARD_SELECTORS.dataAreLoading)
|
||||
.should("be.visible")
|
||||
.get(DASHBOARD_SELECTORS.dataAreLoading)
|
||||
.should("not.exist");
|
||||
const regex = /^1\D+/;
|
||||
sales = sales.toFixed(2).replace(".", ",");
|
||||
|
|
|
@ -92177,6 +92177,7 @@ exports[`Storyshots Views / HomePage default 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id HomeAnalyticsCard-cardContent-id"
|
||||
data-test-id="sales-analytics"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -92220,6 +92221,7 @@ exports[`Storyshots Views / HomePage default 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id HomeAnalyticsCard-cardContent-id"
|
||||
data-test-id="orders-analytics"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -92276,6 +92278,7 @@ exports[`Storyshots Views / HomePage default 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="orders-to-fulfill"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -92307,6 +92310,7 @@ exports[`Storyshots Views / HomePage default 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="orders-to-capture"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -92335,6 +92339,7 @@ exports[`Storyshots Views / HomePage default 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="products-out-of-stock"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -92367,6 +92372,7 @@ exports[`Storyshots Views / HomePage default 1`] = `
|
|||
/>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiPaper-elevation0-id MuiCard-root-id MuiPaper-rounded-id"
|
||||
data-test-id="top-products"
|
||||
>
|
||||
<div
|
||||
class="CardTitle-root-id"
|
||||
|
@ -92466,6 +92472,7 @@ exports[`Storyshots Views / HomePage default 1`] = `
|
|||
<div>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiPaper-elevation0-id MuiCard-root-id MuiPaper-rounded-id"
|
||||
data-test-id="activity-card"
|
||||
>
|
||||
<div
|
||||
class="CardTitle-root-id"
|
||||
|
@ -92882,6 +92889,7 @@ exports[`Storyshots Views / HomePage loading 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id HomeAnalyticsCard-cardContent-id"
|
||||
data-test-id="sales-analytics"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -92930,6 +92938,7 @@ exports[`Storyshots Views / HomePage loading 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id HomeAnalyticsCard-cardContent-id"
|
||||
data-test-id="orders-analytics"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -92991,6 +93000,7 @@ exports[`Storyshots Views / HomePage loading 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="orders-to-fulfill"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -93019,6 +93029,7 @@ exports[`Storyshots Views / HomePage loading 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="orders-to-capture"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -93047,6 +93058,7 @@ exports[`Storyshots Views / HomePage loading 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="products-out-of-stock"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -93123,6 +93135,7 @@ exports[`Storyshots Views / HomePage no data 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id HomeAnalyticsCard-cardContent-id"
|
||||
data-test-id="sales-analytics"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -93166,6 +93179,7 @@ exports[`Storyshots Views / HomePage no data 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id HomeAnalyticsCard-cardContent-id"
|
||||
data-test-id="orders-analytics"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -93222,6 +93236,7 @@ exports[`Storyshots Views / HomePage no data 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="orders-to-fulfill"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -93253,6 +93268,7 @@ exports[`Storyshots Views / HomePage no data 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="orders-to-capture"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -93281,6 +93297,7 @@ exports[`Storyshots Views / HomePage no data 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="products-out-of-stock"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -93313,6 +93330,7 @@ exports[`Storyshots Views / HomePage no data 1`] = `
|
|||
/>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiPaper-elevation0-id MuiCard-root-id MuiPaper-rounded-id"
|
||||
data-test-id="top-products"
|
||||
>
|
||||
<div
|
||||
class="CardTitle-root-id"
|
||||
|
@ -93375,6 +93393,7 @@ exports[`Storyshots Views / HomePage no data 1`] = `
|
|||
<div>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiPaper-elevation0-id MuiCard-root-id MuiPaper-rounded-id"
|
||||
data-test-id="activity-card"
|
||||
>
|
||||
<div
|
||||
class="CardTitle-root-id"
|
||||
|
@ -93515,6 +93534,7 @@ exports[`Storyshots Views / HomePage order permissions 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id HomeAnalyticsCard-cardContent-id"
|
||||
data-test-id="sales-analytics"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -93558,6 +93578,7 @@ exports[`Storyshots Views / HomePage order permissions 1`] = `
|
|||
>
|
||||
<div
|
||||
class="MuiCardContent-root-id HomeAnalyticsCard-cardContent-id"
|
||||
data-test-id="orders-analytics"
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
|
@ -93614,6 +93635,7 @@ exports[`Storyshots Views / HomePage order permissions 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="orders-to-fulfill"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -93645,6 +93667,7 @@ exports[`Storyshots Views / HomePage order permissions 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="orders-to-capture"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
@ -93679,6 +93702,7 @@ exports[`Storyshots Views / HomePage order permissions 1`] = `
|
|||
<div>
|
||||
<div
|
||||
class="MuiPaper-root-id MuiPaper-elevation0-id MuiCard-root-id MuiPaper-rounded-id"
|
||||
data-test-id="activity-card"
|
||||
>
|
||||
<div
|
||||
class="CardTitle-root-id"
|
||||
|
@ -94094,6 +94118,7 @@ exports[`Storyshots Views / HomePage product permissions 1`] = `
|
|||
>
|
||||
<td
|
||||
class="MuiTableCell-root-id MuiTableCell-body-id"
|
||||
data-test-id="products-out-of-stock"
|
||||
>
|
||||
<div
|
||||
class="MuiTypography-root-id MuiTypography-body1-id"
|
||||
|
|
Loading…
Reference in a new issue