Skip to content

Commit 091da66

Browse files
Use macos Orb to install Rosetta and enable Safari automation
1 parent 2ed8402 commit 091da66

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.circleci/config.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: 2.1
33
orbs:
44
browser-tools: circleci/[email protected]
55
codecov: codecov/[email protected]
6+
macos: circleci/[email protected]
67
node: circleci/[email protected]
78

89
push_and_pr_builds: &push_and_pr_builds
@@ -183,11 +184,6 @@ commands:
183184
- run:
184185
name: '💿 Install Microsoft Edge'
185186
command: ./.circleci/install_microsoft_edge.sh
186-
enable_safari_automation:
187-
steps:
188-
- run:
189-
name: '⚙️ Enable Safari Automation'
190-
command: sudo /usr/bin/safaridriver --enable
191187
store_test_output:
192188
steps:
193189
- store_test_results:
@@ -409,7 +405,8 @@ jobs:
409405
<<: *test_types_job
410406
steps:
411407
- setup_vm
412-
- enable_safari_automation
408+
- macos/install-rosetta
409+
- macos/add-safari-permissions
413410
- run:
414411
name: '⭐⭐⭐ << parameters.test_type >> Tests (Safari) ⭐⭐⭐'
415412
command: node build-system/pr-check/browser-tests.js --browser=safari --type=<< parameters.test_type >>

0 commit comments

Comments
 (0)