Commit 27cf851a authored by intrigeri's avatar intrigeri
Browse files

Merge branch 'feature/11501-install-verbs-instead-yes-no' into stable (Fix-committed: #11501)

parents fdd71c2d db5ba016
......@@ -194,7 +194,12 @@ When /^I (install|reinstall|upgrade) Tails (?:to|on) USB drive "([^"]+)" (by clo
label = action.capitalize
end
@installer.button(label).click
@installer.child('Question', roleName: 'alert').button('Yes').click
if action == 'upgrade'
confirmation_label = 'Upgrade'
else
confirmation_label = 'Install'
end
@installer.child('Question', roleName: 'alert').button(confirmation_label).click
try_for(15*60, { :delay => 10 }) do
@installer
.child('Information', roleName: 'alert')
......
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