Commit e86ba60f authored by Cyril Brulebois's avatar Cyril Brulebois
Browse files

Test suite: add slight delay between shortcuts.

Let's work around timing glitches by waiting a full second between
sending two shortcuts, so that the menu has a chance to pop up.
parent 95aca385
......@@ -56,8 +56,10 @@ Then /^I open Thunderbird's Add-ons Manager$/ do
# Make sure AppMenu is available, even if it seems hard to click its
# "Add-ons" menu + menu item...
thunderbird_main.button('AppMenu')
# ... then use keyboard shortcuts:
# ... then use keyboard shortcuts, with a little delay between both
# so that the menu has a chance to pop up:
@screen.type('t', Sikuli::KeyModifier.ALT)
sleep(1)
@screen.type('a')
@thunderbird_addons = thunderbird_app.child(
'Add-ons Manager - Mozilla Thunderbird', roleName: 'frame'
......
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