Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Going back to the latest stable VS Code version to perform e2e tests #1623

Merged
merged 12 commits into from
Sep 30, 2024
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,19 +159,19 @@ npm run bundle

The Runme project has several test stages that you can run individually or as a whole:

```sh {"id":"01HF7VQMH8ESX1EFV4PFZ87Q58","name":"test"}
```sh {"id":"01HF7VQMH8ESX1EFV4PFZ87Q58","name":"test","promptEnv":"no"}
export NODE_OPTIONS="--experimental-specifier-resolution=node --max-old-space-size=8192"
npx runme run test:format test:lint test:unit test:e2e
```

```sh {"id":"01J5VPD3TXY1EAZDCXNHN60S77"}
```sh {"id":"01J5VPD3TXY1EAZDCXNHN60S77","promptEnv":"no"}
export NODE_OPTIONS="--experimental-specifier-resolution=node --max-old-space-size=8192"
npx runme run test:format test:lint test:unit
npx runme run test:format test:lint test:unit
```

When testing in CI environment, run:

```sh {"id":"01HF7VQMH8ESX1EFV4PGJBDGG0","name":"test:ci"}
```sh {"id":"01HF7VQMH8ESX1EFV4PGJBDGG0","name":"test:ci","promptEnv":"no"}
export NODE_OPTIONS="--experimental-specifier-resolution=node --max-old-space-size=8192"
npx runme run test:format test:lint test:unit test:e2e:ci
```
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@
"@wdio/local-runner": "^8.40.5",
"@wdio/mocha-framework": "^8.40.3",
"@wdio/spec-reporter": "^8.40.3",
"chromedriver": "^128.0.3",
"chromedriver": "^129.0.0",
"comment-json": "^4.2.5",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.0.0",
Expand Down
8 changes: 4 additions & 4 deletions tests/e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@wdio/local-runner": "^8.40.2",
"@wdio/mocha-framework": "^8.40.3",
"@wdio/spec-reporter": "^8.27.2",
"chromedriver": "^127.0.2",
"chromedriver": "^129.0.0",
"comment-json": "^4.2.5",
"expect-webdriverio": "^4.15.4",
"runme": "^3.0.1",
Expand Down
7 changes: 3 additions & 4 deletions tests/e2e/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ export const config: Options.Testrunner = {
//
specs: ['./specs/**/*.e2e.ts'],
// Patterns to exclude.
exclude: [
// 'path/to/excluded/files'
],
exclude: ['./specs/**/identity/*.e2e.ts'],
// exclude: [],
//
// ======
// Runner
Expand Down Expand Up @@ -93,7 +92,7 @@ export const config: Options.Testrunner = {
capabilities: [
{
browserName: 'vscode',
browserVersion: '1.92.2',
browserVersion: 'stable',
'wdio:vscodeOptions': {
extensionPath,
workspacePath: extensionPath,
Expand Down