mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
test(devtools): revive cypress tests (#61972)
Previously these tests would run automatically when Angular DevTools lived in another repo. These files have continued to live here but have not been running automatically on each PR. Now, these test files have been revived to run properly with our changes since the repo merge. This is a first step to reviving our e2e testing. Next steps include writing cypress tests for new features like Injector Graph, Router tree, signals visualizations, etc. PR Close #61972
This commit is contained in:
committed by
Jessica Janiuk
parent
c4dd258658
commit
75d246e03c
@@ -56,6 +56,15 @@ jobs:
|
||||
run: yarn devtools:test
|
||||
- name: Test build
|
||||
run: yarn devtools:build:chrome
|
||||
- name: Install Cypress
|
||||
run: yarn global add cypress@14.4.1
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@6c143abc292aa835d827652c2ea025d098311070 # v6.10.1
|
||||
with:
|
||||
command: cypress run --project ./devtools/cypress
|
||||
start: yarn bazel run //devtools/src:devserver
|
||||
wait-on: 'http://localhost:4200'
|
||||
wait-on-timeout: 300
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest-4core
|
||||
|
||||
@@ -60,6 +60,15 @@ jobs:
|
||||
run: yarn devtools:test
|
||||
- name: Test build
|
||||
run: yarn devtools:build:chrome
|
||||
- name: Install Cypress
|
||||
run: yarn global add cypress@14.4.1
|
||||
- name: Cypress run
|
||||
uses: cypress-io/github-action@6c143abc292aa835d827652c2ea025d098311070 # v6.10.1
|
||||
with:
|
||||
command: cypress run --project ./devtools/cypress
|
||||
start: yarn bazel run //devtools/src:devserver
|
||||
wait-on: 'http://localhost:4200'
|
||||
wait-on-timeout: 300
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest-8core
|
||||
|
||||
Reference in New Issue
Block a user