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