-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add swipe to fix webview_stackoverflow_test.dart
- Loading branch information
piotruela
committed
Sep 20, 2024
1 parent
c8732c2
commit df4fa70
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,12 @@ void main() { | |
|
||
// bug: using `Email` and `Password` selectors doesn't work (#1554) | ||
await $.native.enterTextByIndex('[email protected]', index: 0); | ||
|
||
await $.native.swipe( | ||
from: Offset(0.5, 0.5), | ||
to: Offset(0.5, 0.1), | ||
); | ||
|
||
await $.native.enterTextByIndex('ny4ncat', index: 1); | ||
await $.native.tap(Selector(text: 'Log in')); | ||
}, | ||
|
@@ -52,6 +58,12 @@ void main() { | |
|
||
// bug: using `Email` and `Password` selectors doesn't work (#1554) | ||
await $.native2.enterTextByIndex('[email protected]', index: 0); | ||
|
||
await $.native.swipe( | ||
from: Offset(0.5, 0.5), | ||
to: Offset(0.5, 0.1), | ||
); | ||
|
||
await $.native2.enterTextByIndex('ny4ncat', index: 1); | ||
await $.native2.tap( | ||
NativeSelector( | ||
|