Commit d47825a8 authored by intrigeri's avatar intrigeri
Browse files

Test suite: fix steps that shutdown/reboot via the applet.

When we hide the cursor, they often fail: the menu appears and
disappears immediately, before the shutdown or reboot button
is located.
parent 57196e6b
......@@ -510,7 +510,6 @@ end
When /^I request a shutdown using the emergency shutdown applet$/ do
@screen.hide_cursor
@screen.wait_and_click('TailsEmergencyShutdownButton.png', 10)
@screen.hide_cursor
@screen.wait_and_click('TailsEmergencyShutdownHalt.png', 10)
end
......@@ -521,7 +520,6 @@ end
When /^I request a reboot using the emergency shutdown applet$/ do
@screen.hide_cursor
@screen.wait_and_click('TailsEmergencyShutdownButton.png', 10)
@screen.hide_cursor
@screen.wait_and_click('TailsEmergencyShutdownReboot.png', 10)
end
......
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