Commit 82c7d929 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

GitLab 14.4 tests init: adapt password setup/confirmation page

The form input names have simply changed
parent ff26d6801b99
Pipeline #29499 passed with stage
in 49 minutes and 39 seconds
......@@ -28,9 +28,9 @@ def finalize_password(driver, heptapod, user, password, current_password=None):
if current_password is None:
current_password = password
elem = driver.find_element_by_name('user[current_password]')
elem.send_keys(current_password)
elem = driver.find_element_by_name('user[password]')
elem.send_keys(current_password)
elem = driver.find_element_by_name('user[new_password]')
elem.send_keys(password)
elem = driver.find_element_by_name('user[password_confirmation]')
elem.send_keys(password)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment