mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-09 19:52:27 +03:00
playwright error handling in ci
This commit is contained in:
@@ -2,10 +2,10 @@ const { expect } = require('@playwright/test');
|
||||
|
||||
const startSelector = '#start';
|
||||
const resultSelector = '#testResult';
|
||||
const logError = async (page, msg) => {
|
||||
const logError = async (page, ...args) => {
|
||||
const title = await page.title();
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(title, msg);
|
||||
console.log(title, ...args);
|
||||
};
|
||||
|
||||
// default timeout = // 10mins
|
||||
|
||||
Reference in New Issue
Block a user