test: move remaining files from old test/ directory (#6081)
2
.github/workflows/tests.yml
vendored
|
|
@ -40,7 +40,7 @@ jobs:
|
||||||
# Wrap `npm run` in a subshell to redirect STDERR to file.
|
# Wrap `npm run` in a subshell to redirect STDERR to file.
|
||||||
# Enable core dumps in the subshell.
|
# Enable core dumps in the subshell.
|
||||||
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npm run test -- ${{ matrix.browser }} --reporter=dot,json"
|
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- bash -c "ulimit -c unlimited && npm run test -- ${{ matrix.browser }} --reporter=dot,json"
|
||||||
- run: node test/checkCoverage.js ${{ matrix.browser }}
|
- run: node tests/config/checkCoverage.js ${{ matrix.browser }}
|
||||||
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
- run: ./utils/upload_flakiness_dashboard.sh ./test-results/report.json
|
||||||
if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))
|
if: always() && github.repository == 'microsoft/playwright' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-'))
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
|
|
|
||||||
5
.gitignore
vendored
|
|
@ -1,6 +1,5 @@
|
||||||
/node_modules/
|
/node_modules/
|
||||||
/test-results/
|
/test-results/
|
||||||
/test/coverage-report
|
|
||||||
/tests/coverage-report
|
/tests/coverage-report
|
||||||
.local-browsers/
|
.local-browsers/
|
||||||
/.dev_profile*
|
/.dev_profile*
|
||||||
|
|
@ -9,13 +8,11 @@
|
||||||
*.pyc
|
*.pyc
|
||||||
.vscode
|
.vscode
|
||||||
yarn.lock
|
yarn.lock
|
||||||
/node6
|
|
||||||
/src/generated/*
|
/src/generated/*
|
||||||
lib/
|
lib/
|
||||||
jest-report.json
|
|
||||||
drivers/
|
drivers/
|
||||||
.android-sdk/
|
.android-sdk/
|
||||||
.gradle/
|
.gradle/
|
||||||
nohup.out
|
nohup.out
|
||||||
api.json
|
api.json
|
||||||
.trace
|
.trace
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ export function captureStackTrace(): { stack: string, frames: StackFrame[] } {
|
||||||
// for tests.
|
// for tests.
|
||||||
if (isUnderTest() && fileName.includes(path.join('playwright', 'src')))
|
if (isUnderTest() && fileName.includes(path.join('playwright', 'src')))
|
||||||
continue;
|
continue;
|
||||||
if (isUnderTest() && fileName.includes(path.join('playwright', 'test', 'coverage.js')))
|
if (isUnderTest() && fileName.includes(path.join('playwright', 'tests', 'config', 'coverage.js')))
|
||||||
continue;
|
continue;
|
||||||
frames.push({
|
frames.push({
|
||||||
file: fileName,
|
file: fileName,
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"allowJs": true,
|
|
||||||
"checkJs": false,
|
|
||||||
"noEmit": true,
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"target": "ESNext",
|
|
||||||
"strictNullChecks": false,
|
|
||||||
"strictBindCallApply": true,
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
},
|
|
||||||
"include": ["**/*.spec.js", "**/*.ts"]
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
|
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
|
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 413 B |
|
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
|
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 403 B |
|
Before Width: | Height: | Size: 422 B After Width: | Height: | Size: 422 B |
|
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |
|
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
|
Before Width: | Height: | Size: 447 B After Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 437 B After Width: | Height: | Size: 437 B |
|
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 220 B |