Bug #12191

Dogtail's showingOnly option is not working sometimes

Added by anonym 2017-01-30 09:53:02 . Updated 2019-08-19 14:36:34 .

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

0%

Feature Branch:
Type of work:
Research
Blueprint:

Starter:
Affected tool:
Deliverable for:

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

Subtasks


Related issues

Related to Tails - Feature #14585: Investigate Dogtail's long-term viability Resolved 2017-09-02
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 Anonymous 2018-08-17 09:55:37

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

#2 Updated by intrigeri 2019-08-19 14:36:34

FTR, this patch made it in upstream 0.9.10 \o/ (https://gitlab.com/dogtail/dogtail/commit/37a3863f91dfd68a87f35f315a29d23424937f0b)

#3 Updated by intrigeri 2019-09-01 08:47:39

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

#4 Updated by intrigeri 2019-09-06 08:49:30

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