test: fail on unhandled JS exceptions

This commit is contained in:
Solomon Victorino 2024-08-14 15:34:36 -06:00
parent ad92ede00a
commit 750deb9367
15 changed files with 47 additions and 29 deletions

View file

@ -1,7 +1,8 @@
// @ts-check
// document is a global in evaluate, so it's safe to ignore here
// eslint playwright/no-conditional-in-test: 0
import {test, expect} from '@playwright/test';
import {expect} from '@playwright/test';
import {test} from './utils_e2e.js';
test('Explore view taborder', async ({page}) => {
await page.goto('/explore/repos');