Skip to content

Commit

Permalink
chore: fix playwright fyi bots
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed Feb 27, 2024
1 parent b135595 commit 0efaab4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- run: npx playwright install chromium
- run: npm run lint
- run: npm run build
- run: npm run test -- --project=cli --project=cli-reuse --workers=1
- run: npm run test --workers=1
- run: npx vsce package
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '20'
- uses: actions/upload-artifact@v3
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
"l10n": "npx @vscode/l10n-dev export -o ./l10n ./src",
"vscode:prepublish": "npm run build",
"lint": "tsc && eslint . --ext .ts,.tsx,.js",
"test": "playwright test",
"test": "playwright test --project=cli --project=cli-reuse",
"test-all": "playwright test",
"package": "vsce package",
"code": "code --uninstall-extension ms-playwright.playwright && code --install-extension playwright-0.2.11.vsix",
"uncode": "code --uninstall-extension ms-playwright.playwright",
Expand Down
2 changes: 1 addition & 1 deletion src/playwrightTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class PlaywrightTest {
}

private _useTestServer(config: TestConfig) {
return config.version >= 1.43 || this._settingsModel.useTestServer.get();
return this._settingsModel.useTestServer.get();
}

private async _test(config: TestConfig, locations: string[], mode: 'list' | 'run', options: PlaywrightTestOptions, listener: TestListener, token: vscodeTypes.CancellationToken): Promise<void> {
Expand Down

0 comments on commit 0efaab4

Please sign in to comment.