Load pre-recorded autofill profile data from the test recipe.
This is based on Yiming's CL here: https://chromium-review.googlesource.com/c/chromium/src/+/1241756 The idea is to store the autofill profile data in each test recipe at record time, then load the data from the recipe when testing. This makes recording the tests less fragile, and running the tests more self-contained. Note that, as per Yiming, validateField still takes explicit information as to what to validate, because websites may do some formatting on the autofilled data, so a profile field such as "2018" might be validated as "18". Bug: 881096 Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: Ia87e4d3ee0419264a3f37c18f6e19ee7ae5d6bf3 Reviewed-on: https://chromium-review.googlesource.com/c/1257855 Commit-Queue: ericale <ericale@chromium.org> Reviewed-by:Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#604771}
Showing
Please register or sign in to comment