Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
89442b49
Unverified
Commit
89442b49
authored
May 15, 2021
by
Yegor
Committed by
GitHub
May 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable semantics in text_editing_integration.dart (#82582)
parent
e7a816ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
text_editing_integration.dart
...s/web_e2e_tests/test_driver/text_editing_integration.dart
+6
-6
No files found.
dev/integration_tests/web_e2e_tests/test_driver/text_editing_integration.dart
View file @
89442b49
...
...
@@ -41,7 +41,7 @@ void main() {
textFormField
.
controller
?.
text
=
'New Value'
;
// DOM element's value also changes.
expect
(
input
.
value
,
'New Value'
);
});
}
,
semanticsEnabled:
false
);
testWidgets
(
'Input field with no initial value works'
,
(
WidgetTester
tester
)
async
{
...
...
@@ -69,7 +69,7 @@ void main() {
textFormField
.
controller
?.
text
=
'New Value'
;
// DOM element's value also changes.
expect
(
input
.
value
,
'New Value'
);
});
}
,
semanticsEnabled:
false
);
testWidgets
(
'Pressing enter on the text field triggers submit'
,
(
WidgetTester
tester
)
async
{
...
...
@@ -105,7 +105,7 @@ void main() {
expect
(
textFinder2
,
findsOneWidget
);
final
Text
text2
=
tester
.
widget
(
textFinder2
);
expect
(
text2
.
data
,
'enter pressed'
);
});
}
,
semanticsEnabled:
false
);
testWidgets
(
'Jump between TextFormFields with tab key'
,
(
WidgetTester
tester
)
async
{
...
...
@@ -141,7 +141,7 @@ void main() {
final
InputElement
input2
=
document
.
getElementsByTagName
(
'input'
)[
0
]
as
InputElement
;
expect
(
input2
.
value
,
'Text2'
);
});
}
,
semanticsEnabled:
false
);
testWidgets
(
'Jump between TextFormFields with tab key after CapsLock is activated'
,
(
WidgetTester
tester
)
async
{
app
.
main
();
...
...
@@ -190,7 +190,7 @@ void main() {
final
InputElement
input2
=
document
.
getElementsByTagName
(
'input'
)[
0
]
as
InputElement
;
expect
(
input2
.
value
,
'Text2'
);
});
}
,
semanticsEnabled:
false
);
testWidgets
(
'Read-only fields work'
,
(
WidgetTester
tester
)
async
{
const
String
text
=
'Lorem ipsum dolor sit amet'
;
...
...
@@ -253,7 +253,7 @@ void main() {
await
gesture
.
up
();
range
=
TextRange
(
start:
input
.
selectionStart
!,
end:
input
.
selectionEnd
!);
expect
(
range
.
textInside
(
text
),
'amet'
);
});
}
,
semanticsEnabled:
false
);
}
KeyboardEvent
dispatchKeyboardEvent
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment