Skip to content

Commit

Permalink
Fix: Update playwright tests (#3381)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElinorW authored Oct 7, 2024
1 parent 6559844 commit fea4886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const config: PlaywrightTestConfig = {
screenshot: 'only-on-failure'
},
testDir: './src/tests',
testIgnore: '**/authenticated-experiences/**',
reporter: [
[
'html',
Expand Down
2 changes: 1 addition & 1 deletion src/tests/ui/anonymous-experiences/sidebar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test.describe('Resources Explorer', () => {
await page.evaluate(() => document.fonts.ready);
await page.waitForTimeout(200);
expect(await page.screenshot()).toMatchSnapshot();
await page.getByLabel('admin (6)').click();
await page.getByLabel('admin (8)').click();
await page.getByRole('link', { name: 'GET' }).click();
await page.waitForTimeout(200);
await page.evaluate(() => document.fonts.ready);
Expand Down

0 comments on commit fea4886

Please sign in to comment.