• Eric Aleshire's avatar
    Add the "autofill" automation action to the iOS EG Autofill automation tests. · 420d83ba
    Eric Aleshire authored
    This action performs the actual autofilling of the form, by selecting a specific
    element in an autofillable form, then tapping on the autofill suggestion.
    
    The profile data used to autofill is hardcoded in this file for now. uwyiming@
    may have plans to move this profile data into the test recipe in the future, but
    for now this is sufficient.
    
    Additionally, I move some shared code between the click and autofill actions to
    a base class.
    
    I tested this action using a recipe I wrote against Walmart's shop page.
    
    Bug: 881096
    Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs
    Change-Id: I9629a11da48a3910c1765f455491456005aada75
    Reviewed-on: https://chromium-review.googlesource.com/1208141
    Commit-Queue: ericale <ericale@chromium.org>
    Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
    Reviewed-by: default avatarEric Noyau <noyau@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#590452}
    420d83ba
form_suggestion_label.mm 5.9 KB