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.
|
||||
# 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: node test/checkCoverage.js ${{ matrix.browser }}
|
||||
- run: node tests/config/checkCoverage.js ${{ matrix.browser }}
|
||||
- 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-'))
|
||||
- uses: actions/upload-artifact@v1
|
||||
|
|
|
|||
5
.gitignore
vendored
|
|
@ -1,6 +1,5 @@
|
|||
/node_modules/
|
||||
/test-results/
|
||||
/test/coverage-report
|
||||
/tests/coverage-report
|
||||
.local-browsers/
|
||||
/.dev_profile*
|
||||
|
|
@ -9,13 +8,11 @@
|
|||
*.pyc
|
||||
.vscode
|
||||
yarn.lock
|
||||
/node6
|
||||
/src/generated/*
|
||||
lib/
|
||||
jest-report.json
|
||||
drivers/
|
||||
.android-sdk/
|
||||
.gradle/
|
||||
nohup.out
|
||||
api.json
|
||||
.trace
|
||||
.trace
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ export function captureStackTrace(): { stack: string, frames: StackFrame[] } {
|
|||
// for tests.
|
||||
if (isUnderTest() && fileName.includes(path.join('playwright', 'src')))
|
||||
continue;
|
||||
if (isUnderTest() && fileName.includes(path.join('playwright', 'test', 'coverage.js')))
|
||||
if (isUnderTest() && fileName.includes(path.join('playwright', 'tests', 'config', 'coverage.js')))
|
||||
continue;
|
||||
frames.push({
|
||||
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 |