gtk2/testsuite/a11y/iconview.txt
Alexander Larsson a1856c30d9 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.
2020-02-04 15:01:48 +01:00

92 lines
2.0 KiB
Plaintext

window1
"window"
index: 0
state: enabled resizable sensitive showing visible
toolkit: gtk
window-type: normal
<AtkComponent>
layer: window
alpha: 1
iv1
"layered pane"
parent: window1
index: 0
state: enabled focusable focused sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkSelection>
One
"icon"
parent: iv1
index: 0
state: enabled focusable selectable sensitive showing visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: One
character count: 3
caret offset: 0
<AtkImage>
image size: 0 x 0
image description: (null)
<AtkAction>
action 0 name: activate
action 0 description: Activate item
Three
"icon"
parent: iv1
index: 1
state: enabled focusable selectable sensitive showing visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Three
character count: 5
caret offset: 0
<AtkImage>
image size: 0 x 0
image description: (null)
<AtkAction>
action 0 name: activate
action 0 description: Activate item
Five
"icon"
parent: iv1
index: 2
state: enabled focusable selectable sensitive showing visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Five
character count: 4
caret offset: 0
<AtkImage>
image size: 0 x 0
image description: (null)
<AtkAction>
action 0 name: activate
action 0 description: Activate item
Seven
"icon"
parent: iv1
index: 3
state: enabled focusable selectable sensitive showing visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Seven
character count: 5
caret offset: 0
<AtkImage>
image size: 0 x 0
image description: (null)
<AtkAction>
action 0 name: activate
action 0 description: Activate item