Skip to content

Commit

Permalink
test video before simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Jan 8, 2024
1 parent 73617c5 commit 61c9af0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/safari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ jobs:
# run: (npm run start-server&)
- name: Test Safari without video
run: ./bin/browsertime.js -b safari -n 1 https://www.sitespeed.io/
- name: Test Safari with video and Visual Metrics
run: ./bin/browsertime.js -b safari -n 1 --viewPort 800x600 --video --visualMetrics https://www.sitespeed.io/
- name: Test Safari iOS simulator
run: |
IPHONE14=$(xcrun xctrace list devices 2>&1 | grep -m 1 "iPhone 14 Simulator" | awk -F'[()]' '{print $4}')
xcrun simctl boot $IPHONE14
echo "Booted $IPHONE14"
./bin/browsertime.js -b safari -n 1 --safari.useSimulator --video --visualMetrics --safari.deviceUDID $IPHONE14 https://www.sitespeed.io/
- name: Test Safari with video and Visual Metrics
run: ./bin/browsertime.js -b safari -n 1 --viewPort 800x600 --video --visualMetrics https://www.sitespeed.io/
#- name: Test Safari with video and Visual Metrics for multi pages
# run: ./bin/browsertime.js -b safari -n 1 --viewPort 800x600 --video --visualMetrics test/data/navigationscript/multiMac.cjs

0 comments on commit 61c9af0

Please sign in to comment.