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

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