commit | 97b368c9327185b82dcbc91b7e55c9c2deb731df | [log] [tgz] |
---|---|---|
author | Eric Aleshire <ericale@google.com> | Fri Oct 12 18:09:09 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 12 18:09:09 2018 |
tree | c458b612a1c45cffc63ccecac8e8bd649924e227 | |
parent | 6cde412bcda48ec89b3689b1b1f37671a09508cc [diff] |
Add a new test runner to the iOS test runner that can handle autofill automation tests. The new test runner is named WprProxySimulatorTestRunner, and descends from SimulatorTestRunner, mostly diverging in two ways: * It performs additional set up and tear down to specifically set up the Web Page Replay proxy. * It runs the suite under test multiple times, assuming the suite takes in one replay+recipe pair per run, corresponding to testing one webpage. Each webpage will have separate results in the final results report. This test runner is triggered if a new flag, replay_path, is set for a iOS test. This flag represents the path containing saved web page replay and recipe files for use with WprProxySimulatorTestRunner. Key files (such as the certificate needed to proxy traffic on simulator) are passed in to the test runner from api.py (see https://chromium-review.googlesource.com/c/chromium/tools/build/+/1272236) through a CIPD package installed and passed in through the wpr-tools-path flag. Thanks Sergey for the tip! For comments on WIP versions of this which can provide more insight, see here: https://chromium-review.googlesource.com/c/chromium/src/+/1243565 Thanks! Bug: 881096 Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: Id2174a535ffc8a9941fc68062b0c7f69a75d80ab Reviewed-on: https://chromium-review.googlesource.com/c/1263557 Commit-Queue: ericale <ericale@chromium.org> Reviewed-by: Sergey Berezin <sergeyberezin@chromium.org> Cr-Commit-Position: refs/heads/master@{#599288}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .