Commit 104f8026 authored by Cyril Brulebois's avatar Cyril Brulebois
Browse files

Test suite: work around the empty, unnamed frame.

parent fb7dbe0b
......@@ -3,10 +3,11 @@ def thunderbird_app
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|^(.+)$/)
def thunderbird_wizard
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