Skip to content

Commit

Permalink
Use macos Orb to install Rosetta and enable Safari automation
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrozenberg committed May 1, 2024
1 parent 2ed8402 commit f74ebff
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 2.1
orbs:
browser-tools: circleci/browser-tools@1.4.8
codecov: codecov/codecov@4.1.0
macos: circleci/macos@2.4.1
node: circleci/node@5.2.0

push_and_pr_builds: &push_and_pr_builds
Expand Down Expand Up @@ -183,11 +184,6 @@ commands:
- run:
name: '💿 Install Microsoft Edge'
command: ./.circleci/install_microsoft_edge.sh
enable_safari_automation:
steps:
- run:
name: '⚙️ Enable Safari Automation'
command: sudo /usr/bin/safaridriver --enable
store_test_output:
steps:
- store_test_results:
Expand Down Expand Up @@ -409,7 +405,8 @@ jobs:
<<: *test_types_job
steps:
- setup_vm
- enable_safari_automation
- macos/install-rosetta
- macos/add-safari-permissions
- run:
name: '⭐⭐⭐ << parameters.test_type >> Tests (Safari) ⭐⭐⭐'
command: node build-system/pr-check/browser-tests.js --browser=safari --type=<< parameters.test_type >>
Expand Down

0 comments on commit f74ebff

Please sign in to comment.