Skip to content

Commit

Permalink
test(test): update e2e to wait for the second full screen in pte
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias committed May 23, 2024
1 parent d15499d commit 1531d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/tests/pte/Toolbar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ test.describe('Portable Text Input - Open Block Style Select', () => {
await nestedPTE.click()

// nested block full screen
nestedPTE.getByLabel('Expand editor').click()
await nestedPTE.getByLabel('Expand editor').click()

// click the block style select
await nestedPTE.locator('[data-testid="block-style-select"]').click()
await page.locator('[data-testid="block-style-select"]').nth(1).click()

await expect(await page.locator('[data-ui="MenuButton__popover"]')).toBeVisible()
})
Expand Down

0 comments on commit 1531d68

Please sign in to comment.