gtk2/testsuite/a11y/tree.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

407 lines
14 KiB
Plaintext

window1
"window"
index: 0
state: enabled resizable sensitive showing visible
toolkit: gtk
window-type: normal
<AtkComponent>
layer: window
alpha: 1
tv
"table"
parent: window1
index: 0
state: enabled focusable focused sensitive showing visible manages-descendants
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkSelection>
selected children: tv
<AtkTable>
rows: 3
columns: 1
selected rows: 0
column 0 description: Test
column 0 header: unnamed-GtkButtonAccessible-0
table indexes:
✓✓tv
✓✓tv
✓✓tv
unnamed-GtkButtonAccessible-0
"table column header"
parent: tv
index: 0
name: Test
state: enabled sensitive showing visible
toolkit: gtk
<AtkComponent>
layer: widget
alpha: 1
<AtkImage>
image size: -1 x -1
image description: (null)
<AtkAction>
action 0 name: click
action 0 description: Clicks the button
tv
"table cell"
parent: tv
index: 1
state: active enabled focusable focused selectable selected sensitive showing transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
tv
"table cell"
parent: tv
index: 0
name: One
state: active enabled focusable focused selectable selected sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: One
character count: 3
caret offset: -1
default attributes: bg-color: <omitted>
bg-full-height: 0
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
tv
"table cell"
parent: tv
index: 1
name: 234
state: active enabled focusable focused selectable selected sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: 234
character count: 3
caret offset: -1
default attributes: bg-color: <omitted>
bg-full-height: 0
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
tv
"table cell"
parent: tv
index: 2
state: enabled focusable selectable sensitive showing transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
position: 1 0
tv
"table cell"
parent: tv
index: 0
name: Two
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Two
character count: 3
caret offset: -1
default attributes: bg-color: <omitted>
bg-full-height: 0
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
position: 1 0
tv
"table cell"
parent: tv
index: 1
name: 567
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: 567
character count: 3
caret offset: -1
default attributes: bg-color: <omitted>
bg-full-height: 0
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
position: 1 0
tv
"table cell"
parent: tv
index: 3
state: enabled focusable selectable sensitive showing transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
position: 2 0
tv
"table cell"
parent: tv
index: 0
name: 40.000
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: 40.000
character count: 6
caret offset: -1
default attributes: bg-color: <omitted>
bg-full-height: 0
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
position: 2 0
tv
"table cell"
parent: tv
index: 1
name: 999999
state: enabled focusable selectable sensitive showing single-line transient visible
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: 999999
character count: 6
caret offset: -1
default attributes: bg-color: <omitted>
bg-full-height: 0
editable: false
family-name: <omitted>
fg-color: <omitted>
indent: 0
invisible: false
justification: left
language: <omitted>
left-margin: 0
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
right-margin: 0
rise: 0
scale: 1
size: <omitted>
stretch: <omitted>
strikethrough: false
style: <omitted>
underline: none
variant: <omitted>
weight: <omitted>
wrap-mode: word
<AtkAction>
action 0 name: expand or contract
action 0 description: Expands or contracts the row in the tree view containing this cell
action 1 name: edit
action 1 description: Creates a widget in which the contents of the cell can be edited
action 2 name: activate
action 2 description: Activates the cell
<AtkTableCell>
table: tv
column-header[0]: unnamed-GtkButtonAccessible-0
column-span: 1
row-span: 1
position: 2 0