Commit 1d9562ec authored by anonym's avatar anonym
Browse files

Dogtailify step.

parent f01d8692
......@@ -32,13 +32,10 @@ EOF
end
When /^I type a message into gedit$/ do
step 'I start "Gedit" via the GNOME "Accessories" applications menu'
@screen.wait_and_click("GeditWindow.png", 20)
# We don't have a good visual indicator for when we can continue. Without the
# sleep we may start typing in the gedit window far too soon, causing
# keystrokes to go missing.
sleep 5
@screen.type("ATTACK AT DAWN")
step 'I start "gedit" via the GNOME "Accessories" applications menu'
@message = 'ATTACK AT DAWN'
@gedit = Dogtail::Application.new('gedit')
@gedit.child(roleName: 'text').typeText(@message)
end
def maybe_deal_with_pinentry
......
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