Commit a9455f48 authored by kurono's avatar kurono Committed by intrigeri

changes the test suite to validate the new confirmation button

labels with "Install|Upgrade" and "Cancel" instead of "Yes" or
"No". refs issue #11501
parent b1f40c79
......@@ -194,7 +194,11 @@ 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 == 'install' || action == 'reinstall'
@installer.child('Question', roleName: 'alert').button('Install').click
else
@installer.child('Question', roleName: 'alert').button('Upgrade').click
end
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