summaryrefslogtreecommitdiffstats
path: root/features
diff options
context:
space:
mode:
authoranonym <anonym@riseup.net>2017-02-16 15:43:40 +0100
committeranonym <anonym@riseup.net>2017-02-16 15:43:40 +0100
commitda223a1e5f2948c9af7edf32f10ee126bf814b91 (patch)
tree4be3611147ede4794f546e690473b927facc5136 /features
parentcf44cb39229e4b637acb2e82e97db821babca94f (diff)
Revert "Test suite: let's see if the 'press' action is more reliable than .click()."
This reverts commit cf44cb39229e4b637acb2e82e97db821babca94f. This didn't improve reliability.
Diffstat (limited to 'features')
-rw-r--r--features/step_definitions/icedove.rb2
-rw-r--r--features/support/helpers/dogtail.rb4
2 files changed, 1 insertions, 5 deletions
diff --git a/features/step_definitions/icedove.rb b/features/step_definitions/icedove.rb
index b7747ee..10eb33d 100644
--- a/features/step_definitions/icedove.rb
+++ b/features/step_definitions/icedove.rb
@@ -85,7 +85,7 @@ When /^I go into Enigmail's preferences$/ do
end
When /^I enable Enigmail's expert settings$/ do
- @enigmail_prefs.button('Display Expert Settings and Menus').press
+ @enigmail_prefs.button('Display Expert Settings and Menus').click
end
Then /^I click Enigmail's (.+) tab$/ do |tab_name|
diff --git a/features/support/helpers/dogtail.rb b/features/support/helpers/dogtail.rb
index 3bd052a..33c6fa3 100644
--- a/features/support/helpers/dogtail.rb
+++ b/features/support/helpers/dogtail.rb
@@ -202,10 +202,6 @@ module Dogtail
run("#{@var} = #{@find_code}")
end
- def press
- run("#{@var}.doActionNamed('press')")
- end
-
TREE_API_NODE_SEARCHES.each do |method|
define_method(method) do |*args|
args_str = self.class.args_to_s(args)