Commit 3056fec0 authored by Daniel Clark's avatar Daniel Clark Committed by Commit Bot

Update AX browser tests to dump inputType in Blink AX tree

An earlier change (commit aa9f4c85)
added the new ax::mojom::StringAttribute inputType.  This test-only
change updates AX browser tests to dump the value of this attribute
where applicable.

Change-Id: I9411b9dc779beacfa03c6c79b0f1a3644be0a9a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1733112
Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com>
Reviewed-by: default avatarKevin Babbitt <kbabbitt@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#683791}
parent 16f4007a
rootWebArea
++genericContainer
++++button name='Button'
\ No newline at end of file
++++button inputType='button' name='Button'
rootWebArea
++genericContainer ignored
++++genericContainer
++++++menuItem name='Button in menu element'
++++++menuItem inputType='button' name='Button in menu element'
++++menu
++++++menuItem name='Button in element with menu role'
++++++menuItem inputType='button' name='Button in element with menu role'
<!--
@BLINK-ALLOW:inputType=*
@WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:xml-roles:*
@AURALINUX-ALLOW:xml-roles:*
......
<!--
@BLINK-ALLOW:inputType=*
@WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:xml-roles:*
@AURALINUX-ALLOW:xml-roles:*
......
rootWebArea
++genericContainer
++++checkBox name='Checkbox0' checkedState=false
++++checkBox name='Checkbox1' checkedState=true
++++checkBox name='Checkbox2' checkedState=true
++++checkBox name='Checkbox3' checkedState=true
++++checkBox name='Checkbox4' checkedState=mixed
\ No newline at end of file
++++checkBox inputType='checkbox' name='Checkbox0' checkedState=false
++++checkBox inputType='checkbox' name='Checkbox1' checkedState=true
++++checkBox inputType='checkbox' name='Checkbox2' checkedState=true
++++checkBox inputType='checkbox' name='Checkbox3' checkedState=true
++++checkBox inputType='checkbox' name='Checkbox4' checkedState=mixed
rootWebArea
++genericContainer ignored
++++genericContainer
++++++checkBox name='Checkbox1' checkedState=false
++++++checkBox name='Checkbox2' checkedState=true
++++++checkBox inputType='checkbox' name='Checkbox1' checkedState=false
++++++checkBox inputType='checkbox' name='Checkbox2' checkedState=true
++++menu
++++++checkBox name='Checkbox3' checkedState=true
++++++checkBox name='Checkbox4' checkedState=mixed
++++++checkBox inputType='checkbox' name='Checkbox3' checkedState=true
++++++checkBox inputType='checkbox' name='Checkbox4' checkedState=mixed
<!--
@BLINK-ALLOW:inputType=*
@WIN-ALLOW:CHECKED
@WIN-ALLOW:checkable*
@WIN-ALLOW:ia2_hypertext=*
......
rootWebArea
++genericContainer
++++checkBox name='Checkbox Title' checkedState=false
\ No newline at end of file
++++checkBox inputType='checkbox' name='Checkbox Title' checkedState=false
<!--
@BLINK-ALLOW:inputType=*
-->
<html>
<body>
<label style="position: relative;">
......
<!--
@BLINK-ALLOW:inputType=*
@WIN-ALLOW:checkable:*
@WIN-ALLOW:CHECKED*
@WIN-ALLOW:ia2_hypertext=*
......
rootWebArea
++genericContainer
++++colorWell value='#ff9900'
++++colorWell inputType='color' value='#ff9900'
<!--
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@MAC-DENY:AXTitle*
@WIN-ALLOW:ia2_hypertext=*
......
rootWebArea
++genericContainer
++++date value='2008-09-01'
++++date inputType='date' value='2008-09-01'
++++++genericContainer
++++++++genericContainer
++++++++++spinButton name='Month' value='09' valueForRange=9.00 minValueForRange=1.00 maxValueForRange=12.00
......
rootWebArea
++genericContainer
++++date value='2008-09-01' controlsIds=rootWebArea
++++date inputType='date' value='2008-09-01' controlsIds=rootWebArea
++++++genericContainer
++++++++genericContainer
++++++++++spinButton name='Month' value='09' valueForRange=9.00 minValueForRange=1.00 maxValueForRange=12.00
......
<!--
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:ia2_hypertext=*
@UIA-WIN-ALLOW:ControllerFor=*
......
<!--
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:ia2_hypertext=*
-->
......
rootWebArea
++genericContainer
++++textField value='1/1/2015 1:00AM'
++++textField inputType='datetime' value='1/1/2015 1:00AM'
++++++genericContainer
++++++++staticText name='1/1/2015 1:00AM'
++++++++++inlineTextBox name='1/1/2015 1:00AM'
<!--
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:description=*
@WIN-ALLOW:haspopup*
......
<!--
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:ia2_hypertext=*
@AURALINUX-ALLOW:xml-roles:*
......
rootWebArea
++genericContainer
++++textField value='someone@example.com' textSelStart=0 textSelEnd=0
++++textField inputType='email' value='someone@example.com' textSelStart=0 textSelEnd=0
++++++genericContainer
++++++++staticText name='someone@example.com'
++++++++++inlineTextBox name='someone@example.com'
<!--
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:textSel*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:caret_offset*
......
rootWebArea
++genericContainer
++++button name='Choose File' value='No file chosen'
++++button inputType='file' name='Choose File' value='No file chosen'
<!DOCTYPE html>
<!--
@BLINK-ALLOW:inputType=*
@WIN-ALLOW:ia2_hypertext=*
-->
<html>
......
<!--
@BLINK-ALLOW:inputType=*
-->
<!DOCTYPE html>
<html>
<body>
......
rootWebArea
++genericContainer ignored
++++genericContainer
++++++button name='Bullet'
++++++button inputType='image' name='Bullet'
++++menu
++++++button name='Bullet'
++++++button inputType='image' name='Bullet'
<!--
@BLINK-ALLOW:inputType=*
-->
<!DOCTYPE html>
<html>
<body>
......
rootWebArea
++genericContainer
++++button name='Submit'
\ No newline at end of file
++++button inputType='image' name='Submit'
rootWebArea
++genericContainer
++++button name='email'
++++button inputType='image' name='email'
<!--
@BLINK-ALLOW:inputType=*
-->
<html>
<body>
<input type="image" src="envelope.png" id="test" title="email"/>
......
<!--
@BLINK-ALLOW:default
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:DEFAULT
@WIN-ALLOW:xml-roles*
......
rootWebArea
++genericContainer
++++checkBox name='foo bar baz' checkedState=false
++++textField value='bar'
++++checkBox inputType='checkbox' name='foo bar baz' checkedState=false
++++textField inputType='text' value='bar'
++++++genericContainer
++++++++staticText name='bar'
++++++++++inlineTextBox name='bar'
++++checkBox name='foo bar baz' checkedState=false
++++textField value='bar'
++++checkBox inputType='checkbox' name='foo bar baz' checkedState=false
++++textField inputType='text' value='bar'
++++++genericContainer
++++++++staticText name='bar'
++++++++++inlineTextBox name='bar'
<!--
@BLINK-ALLOW:inputType=*
-->
<html>
<body>
<input type="checkbox" id="test1">
......
......@@ -8,6 +8,7 @@
@BLINK-ALLOW:editable
@BLINK-ALLOW:focusable
@BLINK-ALLOW:haspopup*
@BLINK-ALLOW:inputType=*
-->
<!DOCTYPE html>
<html>
......
rootWebArea
++genericContainer
++++dateTime
++++dateTime inputType='month'
++++++genericContainer
++++++++genericContainer
++++++++++spinButton name='Month' valueForRange=0.00 minValueForRange=1.00 maxValueForRange=12.00
......
......@@ -2,6 +2,7 @@
<!--
@BLINK-ALLOW:haspopup*
@BLINK-ALLOW:value*
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:description*
@WIN-ALLOW:haspopup*
......
rootWebArea
++genericContainer
++++spinButton value='1' valueForRange=1.00
++++spinButton inputType='number' value='1' valueForRange=1.00
++++++genericContainer
++++++++genericContainer
++++++++++staticText name='1'
++++++++++++inlineTextBox name='1'
++++spinButton value='6' valueForRange=6.00 minValueForRange=5.00 maxValueForRange=10.00
++++spinButton inputType='number' value='6' valueForRange=6.00 minValueForRange=5.00 maxValueForRange=10.00
++++++genericContainer
++++++++genericContainer
++++++++++staticText name='6'
++++++++++++inlineTextBox name='6'
\ No newline at end of file
++++++++++++inlineTextBox name='6'
<!DOCTYPE html>
<!--
@BLINK-ALLOW:currentValue*
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:maximumValue*
@BLINK-ALLOW:minimumValue*
@BLINK-ALLOW:valuetext*
......
rootWebArea
++genericContainer
++++textField protected value='••••••' textSelStart=6 textSelEnd=6
++++textField protected inputType='password' value='••••••' textSelStart=6 textSelEnd=6
++++++genericContainer
++++++++staticText name='••••••'
++++++++++inlineTextBox name='••••••'
<!--
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:textSel*
@MAC-ALLOW:AXRole*
@MAC-ALLOW:AXSubrole*
......
rootWebArea
++genericContainer ignored
++++form
++++++radioButton checkedState=false radioGroupIds=radioButton
++++++radioButton inputType='radio' checkedState=false radioGroupIds=radioButton
++++++staticText name='Radio1'
++++++++inlineTextBox name='Radio1'
++++++lineBreak name='<newline>'
++++++++inlineTextBox name='<newline>'
++++++radioButton checkedState=false radioGroupIds=radioButton
++++++radioButton inputType='radio' checkedState=false radioGroupIds=radioButton
++++++staticText name='Radio2'
++++++++inlineTextBox name='Radio2'
++++form
++++++radioButton name='Radio3' checkedState=false radioGroupIds=radioButton,radioButton
++++++radioButton name='Radio4' checkedState=true radioGroupIds=radioButton,radioButton
++++++radioButton inputType='radio' name='Radio3' checkedState=false radioGroupIds=radioButton,radioButton
++++++radioButton inputType='radio' name='Radio4' checkedState=true radioGroupIds=radioButton,radioButton
++++form
++++++radioButton name='Radio5' checkedState=false radioGroupIds=radioButton
++++++radioButton name='Radio6' checkedState=true radioGroupIds=radioButton
++++++radioButton inputType='radio' name='Radio5' checkedState=false radioGroupIds=radioButton
++++++radioButton inputType='radio' name='Radio6' checkedState=true radioGroupIds=radioButton
rootWebArea
++genericContainer ignored
++++genericContainer
++++++menuItemRadio checkedState=true
++++++menuItemRadio inputType='radio' checkedState=true
++++++staticText name='Radio0 '
++++++++inlineTextBox name='Radio0 '
++++++menuItemRadio checkedState=false
++++++menuItemRadio inputType='radio' checkedState=false
++++++staticText name='Radio1 '
++++++++inlineTextBox name='Radio1 '
++++++radioButton name='Radio2' checkedState=false
++++++radioButton inputType='radio' name='Radio2' checkedState=false
++++menu
++++++radioButton name='Radio3' checkedState=false
++++++menuItemRadio checkedState=false
++++++menuItemRadio checkedState=true
++++++radioButton inputType='radio' name='Radio3' checkedState=false
++++++menuItemRadio inputType='radio' checkedState=false
++++++menuItemRadio inputType='radio' checkedState=true
<!--
@BLINK-ALLOW:inputType=*
@WIN-ALLOW:CHECKED*
@WIN-ALLOW:MIXED*
@WIN-ALLOW:checkable*
......
<!--
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:radioGroupIds=*
@MAC-ALLOW:AXLinkedUIElements*
@MAC-DENY:AXLinkedUIElements=[]
......
<!--
@BLINK-ALLOW:currentValue*
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:maximumValue*
@BLINK-ALLOW:minimumValue*
@BLINK-ALLOW:valuetext*
......
rootWebArea
++genericContainer
++++textField
++++textField inputType='text'
++++++genericContainer
++++button name='Reset'
\ No newline at end of file
++++button inputType='reset' name='Reset'
<!--
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@AURALINUX-ALLOW:focus*
@AURALINUX-ALLOW:editable
......
rootWebArea
++genericContainer ignored
++++form
++++++textField
++++++textField inputType='text'
++++++++genericContainer
++++++button default name='First submit in a form is a valid default button'
++++++button name='Second submit in a form not a valid default button'
++++++button default inputType='submit' name='First submit in a form is a valid default button'
++++++button inputType='submit' name='Second submit in a form not a valid default button'
++++form
++++++textField
++++++textField inputType='text'
++++++++genericContainer
++++++button default name='First image button in a form is a valid default button'
++++++button name='Second image button in a form not a valid default button'
++++button name='Submit outside of form not a valid default button'
++++++button default inputType='image' name='First image button in a form is a valid default button'
++++++button inputType='image' name='Second image button in a form not a valid default button'
++++button inputType='submit' name='Submit outside of form not a valid default button'
<!--
@BLINK-ALLOW:default
@BLINK-ALLOW:inputType=*
@WIN-ALLOW:DEFAULT
@MAC-ALLOW:AXRole*
@AURALINUX-ALLOW:default
......
rootWebArea
++genericContainer
++++textFieldWithComboBox autoComplete='list' haspopup=listbox
++++++genericContainer
\ No newline at end of file
++++textFieldWithComboBox autoComplete='list' inputType='text' haspopup=listbox
++++++genericContainer
......@@ -7,6 +7,7 @@
@AURALINUX-ALLOW:editable
@AURALINUX-ALLOW:focus*
@BLINK-ALLOW:haspopup*
@BLINK-ALLOW:inputType=*
-->
<!DOCTYPE html>
<html>
......
rootWebArea
++genericContainer
++++textField name='Name' textSelStart=0 textSelEnd=0
++++textField inputType='text' name='Name' textSelStart=0 textSelEnd=0
++++++staticText name='Name'
++++++++inlineTextBox name='Name'
++++++genericContainer
rootWebArea
++genericContainer ignored
++++textField name='Title0'
++++textField inputType='text' name='Title0'
++++++genericContainer
++++textField description='Title1' name='Label1' descriptionFrom=attribute
++++textField description='Title1' inputType='text' name='Label1' descriptionFrom=attribute
++++++genericContainer
++++textField description='Title2' name='AriaLabel2' descriptionFrom=attribute
++++textField description='Title2' inputType='text' name='AriaLabel2' descriptionFrom=attribute
++++++genericContainer
++++textField description='Title3' name='LabelledBy3' descriptionFrom=attribute
++++textField description='Title3' inputType='text' name='LabelledBy3' descriptionFrom=attribute
++++++genericContainer
++++textField name='Placeholder4'
++++textField inputType='text' name='Placeholder4'
++++++staticText name='Placeholder4'
++++++++inlineTextBox name='Placeholder4'
++++++genericContainer
++++textField name='ARIA Placeholder4a'
++++textField inputType='text' name='ARIA Placeholder4a'
++++++genericContainer
++++textField name='Placeholder4b'
++++textField inputType='text' name='Placeholder4b'
++++++staticText name='Placeholder4b'
++++++++inlineTextBox name='Placeholder4b'
++++++genericContainer
++++textField description='Title5' name='Placeholder5' descriptionFrom=attribute
++++textField description='Title5' inputType='text' name='Placeholder5' descriptionFrom=attribute
++++++staticText name='Placeholder5'
++++++++inlineTextBox name='Placeholder5'
++++++genericContainer
++++textField description='DescribedBy6' name='LabelledBy6' descriptionFrom=relatedElement
++++textField description='DescribedBy6' inputType='text' name='LabelledBy6' descriptionFrom=relatedElement
++++++genericContainer
++++textField description='DescribedBy7' name='AriaLabel7' descriptionFrom=relatedElement
++++textField description='DescribedBy7' inputType='text' name='AriaLabel7' descriptionFrom=relatedElement
++++++staticText name='Placeholder7'
++++++++inlineTextBox name='Placeholder7'
++++++genericContainer
<!--
@BLINK-ALLOW:inputType=*
@UIA-WIN-ALLOW:HelpText*
@WIN-ALLOW:description*
@WIN-ALLOW:explicit-name*
......
rootWebArea
++genericContainer
++++textField name='Name' textSelStart=0 textSelEnd=0 restriction=readOnly
++++textField inputType='text' name='Name' textSelStart=0 textSelEnd=0 restriction=readOnly
++++++staticText name='Name'
++++++++inlineTextBox name='Name'
++++++genericContainer
<!--
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:textSel*
@MAC-ALLOW:AXRole*
@MAC-ALLOW:AXPlaceholder*
......
<!--
@ANDROID-ALLOW:text_change_added_count
@ANDROID-ALLOW:text_change_removed_count
@BLINK-ALLOW:inputType=*
@WAIT-FOR:After
-->
<html>
......
......@@ -4,6 +4,7 @@
@WIN-ALLOW:IA2_STATE_MULTI_LINE
@BLINK-ALLOW:description*
@BLINK-ALLOW:focusable*
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:multiline
@AURALINUX-ALLOW:*-line
@AURALINUX-DENY:selectable-text
......
......@@ -12,6 +12,7 @@
@AURALINUX-ALLOW:*-line
@AURALINUX-ALLOW:editable
@AURALINUX-ALLOW:focus*
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:textSel*
-->
<!DOCTYPE html>
......
<!DOCTYPE html>
<!--
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:textSel*
@MAC-ALLOW:AXEditableAncestor*
@MAC-ALLOW:AXHighestEditableAncestor*
......
rootWebArea
++genericContainer
++++inputTime value='00:00:00'
++++inputTime inputType='time' value='00:00:00'
++++++genericContainer
++++++++genericContainer
++++++++++spinButton name='Hours' value='12' valueForRange=12.00 minValueForRange=1.00 maxValueForRange=12.00
......
<!--
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:xml-roles*
......
......@@ -9,6 +9,7 @@
@AURALINUX-ALLOW:text-input-type:*
@AURALINUX-ALLOW:focus*
@AURALINUX-ALLOW:editable
@BLINK-ALLOW:inputType=*
@BLINK-ALLOW:textSel*
-->
<!DOCTYPE html>
......
rootWebArea
++genericContainer
++++dateTime
++++dateTime inputType='week'
++++++genericContainer
++++++++genericContainer
++++++++++staticText name='Week '
......@@ -13,4 +13,4 @@ rootWebArea
++++++++++spinButton name='Year' valueForRange=0.00 minValueForRange=1.00 maxValueForRange=275760.00
++++++++++++staticText name='----'
++++++++++++++inlineTextBox name='----'
++++++popUpButton name='Show date picker' haspopup=menu
\ No newline at end of file
++++++popUpButton name='Show date picker' haspopup=menu
<!--
@BLINK-ALLOW:haspopup*
@BLINK-ALLOW:inputType=*
@MAC-ALLOW:AXRole*
@WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:description*
......
Markdown is supported
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