Skip to content

Commit

Permalink
LPD-34759 Add missing awaits and change text
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrodw3 authored and brianchandotcom committed Sep 3, 2024
1 parent 16e1a2e commit 297100f
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,11 @@ test.describe('Multistep', {tag: '@LPD-10727'}, () => {

// Check steps titles and bullets numbers are displayed

page.locator('.multi-step-nav').getByText('Step 01').waitFor();
await page.locator('.multi-step-nav').getByText('Step 1').waitFor();

page.locator('.multi-step-icon[data-multi-step-icon="1"]').waitFor();
await page
.locator('.multi-step-icon[data-multi-step-icon="1"]')
.waitFor();

// Hide both and check they are not displayed

Expand All @@ -231,7 +233,7 @@ test.describe('Multistep', {tag: '@LPD-10727'}, () => {
});

await expect(
page.locator('.multi-step-nav').getByText('Step 01')
page.locator('.multi-step-nav').getByText('Step 1')
).not.toBeVisible();

await expect(
Expand Down

0 comments on commit 297100f

Please sign in to comment.