Skip to content

Commit

Permalink
CI: remove electron browser from e2e test runs
Browse files Browse the repository at this point in the history
Because it is unstable currently and most people
don't use electron for ecamp3.
  • Loading branch information
BacLuc committed Aug 7, 2023
1 parent f9f90d1 commit 29fb61d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ jobs:
fail-fast: false
matrix:
browser:
- electron
- chrome
- firefox
- edge
Expand Down
7 changes: 4 additions & 3 deletions e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ xhost local:root

### Run all e2e tests
```shell
docker compose --profile e2e run --rm e2e
docker compose --profile e2e run --rm e2e --browser chrome
```

### Run a specific e2e test
```shell
docker compose --profile e2e run --rm e2e --spec specs/login.cy.js
docker compose --profile e2e run --rm e2e --browser chrome --spec specs/login.cy.js
```

### Run tests using a specific browser
Supported browsers: `chrome`, `edge`, `electron` (default), `firefox`
Electron is currently not stable on the CI.
```shell
docker compose --profile e2e run --rm e2e --browser chrome
docker compose --profile e2e run --rm e2e --browser firefox
```

### Open the cypress UI and visually see the tests run
Expand Down

0 comments on commit 29fb61d

Please sign in to comment.