Skip to content

Commit

Permalink
Await #full-permissions-enabled div visible
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvNC committed Oct 12, 2024
1 parent 7c606cd commit 6dd257e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/playwright/visual.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ test.beforeEach(async ({context}) => {
test('visual', async ({page, extensionId}) => {
// Open welcome page
await page.goto(`chrome-extension://${extensionId}/welcome.html`);
await expect(page.locator('#full-permissions-enabled')).toBeVisible();

// Take a screenshot of the welcome page
await expect.soft(page).toHaveScreenshot('welcome-page.png');
Expand Down

0 comments on commit 6dd257e

Please sign in to comment.