configure codecov

This commit is contained in:
Rene Haas
2022-08-19 17:39:08 +02:00
parent a6b40e0231
commit a88102de69
6 changed files with 41 additions and 20 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ const { devices } = require('@playwright/test');
module.exports = {
testMatch: /.*\/tests\/playwright\/.*\.test\.[jt]sx?/,
timeout: 10 * 60 * 2000,
timeout: 10 * 60 * 1500,
navigationTimeout: 1000,
retries: 0,
maxFailures: 0,
@@ -8,8 +8,8 @@ const logError = async (page, ...args) => {
console.log(title, ...args);
};
// default timeout = // 10mins
module.exports = async (page, timeout = 10 * 60 * 2000) => {
// default timeout = // 15mins
module.exports = async (page, timeout = 10 * 60 * 1500) => {
page.on('pageerror', (err) => {
logError(page, err.message);
});