Skip to content

Commit

Permalink
[todo][e2e] update cypress
Browse files Browse the repository at this point in the history
Closes #186.
  • Loading branch information
anp committed Sep 7, 2020
1 parent fdea391 commit 386d864
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,11 @@ jobs:
- run: cargo test-dom-todo
- run: cargo test-dom-drivertest

# TODO(#186) uncomment
# - run: cd dom/examples/todo/e2e; npm ci
# - name: todomvc e2e tests
# run: bin/ofl serve-then-run --cwd dom/examples/todo/e2e -- npx cypress run --record
# env:
# CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- run: cd dom/examples/todo/e2e; npm ci
- name: todomvc e2e tests
run: cargo test-dom-todo-e2e --record
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

website:
needs: ofl
Expand Down
30 changes: 15 additions & 15 deletions dom/examples/todo/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 dom/examples/todo/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.0-development",
"devDependencies": {
"axe-core": "3.5.3",
"cypress": "^5.0.0",
"cypress": "^5.1.0",
"cypress-axe": "0.5.3"
}
}

0 comments on commit 386d864

Please sign in to comment.