Skip to content

Commit 87ae6bd

Browse files
authored
test: migrate Chrome and Firefox tests to orb executor (#545)
1 parent a228b16 commit 87ae6bd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.circleci/test-deploy.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22
orbs:
3-
orb-tools: circleci/[email protected]
4-
browser-tools: circleci/[email protected]
3+
orb-tools: circleci/[email protected] # https://circleci.com/developer/orbs/orb/circleci/orb-tools
4+
browser-tools: circleci/[email protected] # https://circleci.com/developer/orbs/orb/circleci/browser-tools
55
# The orb will be injected here by the "continue" job.
66
filters: &filters
77
tags:
@@ -22,13 +22,14 @@ jobs:
2222
- .cache/Cypress
2323
- project
2424
run-ct-tests-in-chrome:
25-
docker:
26-
- image: cypress/browsers:22.17.0
25+
executor:
26+
name: cypress/default
2727
parallelism: 2
2828
steps:
2929
- run: echo "This step assumes dependencies were installed using the cypress/install job"
3030
- attach_workspace:
3131
at: ~/
32+
- browser-tools/install_chrome
3233
- cypress/run-tests:
3334
working-directory: examples/angular-app
3435
cypress-command: "npx cypress run --component --parallel --record --group 2x-chrome --browser chrome"
@@ -45,13 +46,14 @@ jobs:
4546
working-directory: examples/angular-app
4647
cypress-command: "npx cypress run --component --parallel --record --group 2x-chrome-for-testing --browser chrome-for-testing"
4748
run-ct-tests-in-firefox:
48-
docker:
49-
- image: cypress/browsers:22.17.0
49+
executor:
50+
name: cypress/default
5051
parallelism: 2
5152
steps:
5253
- run: echo "This step assumes dependencies were installed using the cypress/install job"
5354
- attach_workspace:
5455
at: ~/
56+
- browser-tools/install_firefox
5557
- cypress/run-tests:
5658
working-directory: examples/angular-app
5759
cypress-command: "npx cypress run --component --parallel --record --group 2x-firefox --browser firefox"

0 commit comments

Comments
 (0)