testing/web-platform/tests/tools/ci/azure/install_safari.yml
author Philip Jägenstedt <philip@foolip.org>
Fri, 30 Nov 2018 18:01:45 +0000
changeset 450006 bcb9f53e5d7b5b3ff11a2512c9bef10b468c4f21
parent 449919 fb94ec981a7d3d79a6ac55a2ad00a7b8a3be6149
child 456897 ef3ddba6650fcff69ce46f558a0fff9593e6bc90
permissions -rw-r--r--
Bug 1509468 [wpt PR 14202] - [Azure Pipelines] Don't pin Safari Technology Preview version, a=testonly Automatic update from web-platform-tests [Azure Pipelines] Don't pin Safari Technology Preview version (#14202) Fixes https://github.com/web-platform-tests/wpt/issues/13800. -- wpt-commits: 4b6b5524b1203233d78d025312b6e918809286f3 wpt-pr: 14202

steps:
- script: |
    HOMEBREW_NO_AUTO_UPDATE=1 brew cask install Homebrew/homebrew-cask-versions/safari-technology-preview
    # https://web-platform-tests.org/running-tests/safari.html
    sudo "/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver" --enable
    defaults write com.apple.Safari WebKitJavaScriptCanOpenWindowsAutomatically 1
  displayName: 'Install Safari Technology Preview'