Skip to content

Commit

Permalink
fix page locators
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed Mar 8, 2023
1 parent dd3b055 commit b2cacc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/components/DialogV2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test.describe('DialogV2', () => {
// Open Dialog
await page.getByRole('button', {name: 'Show dialog'}).click()
// wait for dialog to open
await page.getByRole('dialog').waitFor()
await page.getByRole('dialog', {name: 'Dialog'}).waitFor()
// Open state
expect(
await page.screenshot({
Expand Down Expand Up @@ -65,7 +65,7 @@ test.describe('DialogV2', () => {
// Open Dialog
await page.getByRole('button', {name: 'Show dialog'}).click()
// wait for dialog to open
await page.getByRole('dialog').waitFor()
await page.getByRole('dialog', {name: 'Dialog'}).waitFor()
// Open state
expect(
await page.screenshot({
Expand Down Expand Up @@ -107,7 +107,7 @@ test.describe('DialogV2', () => {
// Open Dialog
await page.getByRole('button', {name: 'Show dialog'}).click()
// wait for dialog to open
await page.getByRole('dialog').waitFor()
await page.getByRole('alertdialog').waitFor()
// Open state
expect(
await page.screenshot({
Expand Down

0 comments on commit b2cacc3

Please sign in to comment.