mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 12:15:33 +00:00
61ca90af3e
Automatic update from web-platform-tests Add support for running tests with Chrome for iOS (#17892) * Add support for running tests with Chrome for iOS This adds Chrome for iOS as a supported browser. Because of iOS-specific constraints, running tests with Chrome on iOS requires a local build of Chrome. Specifically: 1) Checkout chromium, and build the targets ios_cwt_chromedriver_tests and ios_cwt_chromedriver_tests_module. 2) Pass <CHROMIUM_SRC_DIR>/ios/chrome/test/wpt/tools/run_cwt_chromedriver.py as the --webdriver-binary argument to 'wpt run' The default build directory, iOS simulator device type, and iOS version are specified inside run_cwt_chromedriver.py, but can be overridden by passing --webdriver-arg arguments to 'wpt run'. For example, to use an iPhone X simulator instead of the default iPhone 8 simulator, pass the argument --webdriver-arg='--device=iPhone X'. -- wpt-commits: c88dfdfe443e497c28b98936228e94cc45b8cdbe wpt-pr: 17892 |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
browser.py | ||
commands.json | ||
create.py | ||
install.py | ||
markdown.py | ||
paths | ||
requirements.txt | ||
run.py | ||
testfiles.py | ||
tox.ini | ||
update.py | ||
utils.py | ||
virtualenv.py | ||
wpt.py |