Add waitFor JS assertion action to Autofill EarlGrey automation tests.
My first CL into Autofill iOS automation - continuing off noyau@'s work by expanding the capabilities of the automation suite to match work done on other platforms. Previously, only the "click" action was implemented in iOS, and this adds the "waitFor" action, which waits until all associated Javascript assertions are true before continuing with the test script. This is meant to be a fairly 1:1 port of the equivalent actions (composed of TestRecipeReplayer::ExecuteWaitForStateAction, WaitForStateChange, and AllAssertionsPassed) here: https://chromium.googlesource.com/chromium/src/+/831f175d0cafe05c00306104bd86dfb4c00921da/chrome/browser/autofill/captured_sites_test_utils.cc#477 Next, I plan on adding the "autofill" action. Bug: None Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: Iaea2e2ecd68eb29755fb4a8be6736bdaea64dcfb Reviewed-on: https://chromium-review.googlesource.com/1185920Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Commit-Queue: ericale <ericale@chromium.org> Cr-Commit-Position: refs/heads/master@{#586790}
Showing
Please register or sign in to comment