Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
104f8026
Commit
104f8026
authored
Aug 16, 2018
by
Cyril Brulebois
Browse files
Test suite: work around the empty, unnamed frame.
parent
fb7dbe0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
features/step_definitions/thunderbird.rb
View file @
104f8026
...
...
@@ -3,10 +3,11 @@ def thunderbird_app
end
def
thunderbird_main
# The main window title depends on context so without regexes it
# will be hard to find it, but it so happens that it is always the
# first frame of Thunderbird, so we do not have to be specific.
thunderbird_app
.
child
(
roleName:
'frame'
)
# Thunderbird has an empty, unnamed frame; so use a search on all
# children and match whatever frame has a non-empty name:
thunderbird_app
.
children
(
roleName:
'frame'
,
recursive:
false
).
find
do
|
e
|
e
.
name
.
match
(
/^(.+)$/
)
end
end
def
thunderbird_wizard
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment