a11y tests: Ignore "active" flag on toplevel
authorAlexander Larsson <alexl@redhat.com>
Tue, 4 Feb 2020 14:01:48 +0000 (15:01 +0100)
committerAlexander Larsson <alexl@redhat.com>
Tue, 4 Feb 2020 14:01:48 +0000 (15:01 +0100)
commita1856c30d9794f3f371554fac02b8b9a45472134
tree82d875c0162ce24070043a2751f8dcff58f8b906
parent008eb0412596ef9a76d5338b86f25399a29f830e
a11y tests: Ignore "active" flag on toplevel

All the a11y tests were failing for me with a window state diff
like this:

-  state: active enabled resizable sensitive showing visible
+  state: enabled resizable sensitive showing visible

I guess the windows in the CI always gets the focus, but not when
I run it here. Generally focus seems asynchronous and hard to rely
on so I just made the test ignore the active state on toplevels.
31 files changed:
testsuite/a11y/about.txt
testsuite/a11y/accessibility-dump.c
testsuite/a11y/accessible-name.txt
testsuite/a11y/actionbar.txt
testsuite/a11y/buttons.txt
testsuite/a11y/calendar.txt
testsuite/a11y/colorchooser.txt
testsuite/a11y/combos.txt
testsuite/a11y/entries.txt
testsuite/a11y/expander.txt
testsuite/a11y/headerbar.txt
testsuite/a11y/hello-world.txt
testsuite/a11y/iconview.txt
testsuite/a11y/label-static.txt
testsuite/a11y/label.txt
testsuite/a11y/link.txt
testsuite/a11y/listbox.txt
testsuite/a11y/lockbutton.txt
testsuite/a11y/menubutton.txt
testsuite/a11y/menubutton2.txt
testsuite/a11y/menubutton3.txt
testsuite/a11y/mnemonic.txt
testsuite/a11y/notebook.txt
testsuite/a11y/pickers.txt
testsuite/a11y/placeholder-text.txt
testsuite/a11y/range.txt
testsuite/a11y/scale-drawvalue.txt
testsuite/a11y/stack.txt
testsuite/a11y/text.txt
testsuite/a11y/tooltips.txt
testsuite/a11y/tree.txt