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,6 +1,6 @@
// @ts-check
import {test, expect} from '@playwright/test';
import {login_user, save_visual, load_logged_in_context} from './utils_e2e.js';
import {expect} from '@playwright/test';
import {test, login_user, save_visual, load_logged_in_context} from './utils_e2e.js';
test.beforeAll(async ({browser}, workerInfo) => {
await login_user(browser, workerInfo, 'user2');