Skip to content

Commit

Permalink
chore: ..
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Sep 19, 2023
1 parent 0be4212 commit 35766c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-cypress-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
CURRENTS_RUN_BASE_URL: ${{ secrets.CURRENTS_RUN_BASE_URL }}
CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }}
CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }}
CYPRESS_VERSION: ${{ matrix.cypress-version }}
CURRENTS_USE_CYPRESS_VERSION: ${{ matrix.cypress-version }}

run: >
npx jest
1 change: 1 addition & 0 deletions e2e/cypress-13-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ CURRENTS_API_BASE_URL=https://api.currents.dev/v1 \
CURRENTS_API_KEY=<api_key> \
CURRENTS_RECORD_KEY=<key> \
CURRENTS_PROJECT_ID=<project> \
CURRENTS_USE_CYPRESS_VERSION=<12|13...> \
npx jest --watch
```
6 changes: 4 additions & 2 deletions e2e/cypress-13-demo/__tests__/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ const testSpecs = [
];
let result: any = null;

// eslint-disable-next-line
describe(`Cypress ${process.env.CYPRESS_VERSION} compatibility`, () => {
describe(`Cypress ${
// eslint-disable-next-line
process.env.CURRENTS_USE_CYPRESS_VERSION ?? 13
} compatibility`, () => {
jest.setTimeout(60 * 1000 * 5);

beforeAll(async () => {
Expand Down

0 comments on commit 35766c1

Please sign in to comment.