diff options
Diffstat (limited to 'features/step_definitions/truecrypt.rb')
-rw-r--r-- | features/step_definitions/truecrypt.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/features/step_definitions/truecrypt.rb b/features/step_definitions/truecrypt.rb new file mode 100644 index 00000000..bc8591bc --- /dev/null +++ b/features/step_definitions/truecrypt.rb @@ -0,0 +1,12 @@ +When /^I start TrueCrypt through the GNOME menu$/ do + next if @skip_steps_while_restoring_background + @screen.wait_and_click("GnomeApplicationsMenu.png", 10) + @screen.wait_and_click("GnomeApplicationsAccessories.png", 10) + @screen.wait_and_click("GnomeApplicationsTrueCrypt.png", 20) +end + +When /^I deal with the removal warning prompt$/ do + next if @skip_steps_while_restoring_background + @screen.wait("TrueCryptRemovalWarning.png", 60) + @screen.type(Sikuli::Key.ENTER) +end |