mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-05-17 04:49:39 +03:00
configure codecov
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
flags: unit
|
||||
files: "**/jest/coverage*.json"
|
||||
- name: Run Playwright
|
||||
run: xvfb-run npm run playwright sizeObserver
|
||||
run: xvfb-run npm run playwright
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
flags: ui
|
||||
|
||||
@@ -2,7 +2,7 @@ const { devices } = require('@playwright/test');
|
||||
|
||||
module.exports = {
|
||||
testMatch: /.*\/tests\/playwright\/.*\.test\.[jt]sx?/,
|
||||
timeout: 10 * 60 * 1000,
|
||||
timeout: 10 * 60 * 2000,
|
||||
navigationTimeout: 1000,
|
||||
retries: 0,
|
||||
workers: 4,
|
||||
|
||||
@@ -4,7 +4,7 @@ const startSelector = '#start';
|
||||
const resultSelector = '#testResult';
|
||||
|
||||
// default timeout = // 10mins
|
||||
module.exports = async (page, timeout = 10 * 60 * 1000) => {
|
||||
module.exports = async (page, timeout = 10 * 60 * 2000) => {
|
||||
await page.waitForLoadState('domcontentloaded', { timeout: 5000 });
|
||||
await page.click(startSelector, { timeout: 1000 });
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -11803,7 +11803,7 @@
|
||||
}
|
||||
},
|
||||
"packages/overlayscrollbars": {
|
||||
"version": "2.0.0-beta.0",
|
||||
"version": "2.0.0-beta.1",
|
||||
"license": "MIT"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user