Project

General

Profile

Bug #12191

Dogtail's showingOnly option is not working sometimes

Added by anonym over 2 years ago. Updated about 2 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
-
Start date:
01/30/2017
Due date:
% Done:

0%

Feature Branch:
Type of work:
Research
Blueprint:
Starter:
Affected tool:

Description

Why did we have to do this:

commit 01f06c13879f905653adb4f0aef6b677b24c2383
Author: anonym <anonym@riseup.net>
Date:   Wed Jan 25 16:20:22 2017 +0100

    Enforce `showingOnly` when Dogtailing the GNOME Shell menu.

    We set it by default, but it doesn't seem to take effect. This could
    be due to a bug in our Dogtail patch which added that feature.

diff --git a/features/step_definitions/common_steps.rb b/features/step_definitions/common_steps.rb
index a5af7b123b..81503a2137 100644
--- a/features/step_definitions/common_steps.rb
+++ b/features/step_definitions/common_steps.rb
@@ -716,7 +716,7 @@ end
 Given /^I start "([^"]+)" via the GNOME "([^"]+)" applications menu$/ do |app_name, submenu|
   app = Dogtail::Application.new('gnome-shell')
   for element in ['Applications', submenu, app_name] do
-    app.child(element, roleName: 'label').click
+    app.child(element, roleName: 'label', showingOnly: true).click
   end
 end


Related issues

Related to Tails - Feature #14585: Investigate Dogtail's long-term viability Resolved 09/02/2017
Related to Tails - Bug #17012: "all notifications have disappeared" test suite step is fragile Resolved
Related to Tails - Bug #17027: Test suite: lost click on "Start Tor Browser" Resolved

History

#1 Updated by u about 1 year ago

  • Related to Feature #14585: Investigate Dogtail's long-term viability added

#3 Updated by intrigeri about 2 months ago

  • Related to Bug #17012: "all notifications have disappeared" test suite step is fragile added

#4 Updated by intrigeri about 1 month ago

  • Related to Bug #17027: Test suite: lost click on "Start Tor Browser" added

Also available in: Atom PDF