From 9617e527fdd5301757b3547b5b9e9b989c523112 Mon Sep 17 00:00:00 2001 From: piotruela Date: Fri, 20 Sep 2024 16:37:14 +0200 Subject: [PATCH] Add swipe to fix webview_stackoverflow_test.dart --- .../integration_test/webview_stackoverflow_test.dart | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev/e2e_app/integration_test/webview_stackoverflow_test.dart b/dev/e2e_app/integration_test/webview_stackoverflow_test.dart index e6ae94f62..d31a2f7ac 100644 --- a/dev/e2e_app/integration_test/webview_stackoverflow_test.dart +++ b/dev/e2e_app/integration_test/webview_stackoverflow_test.dart @@ -19,6 +19,12 @@ void main() { // bug: using `Email` and `Password` selectors doesn't work (#1554) await $.native.enterTextByIndex('test@leancode.pl', 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('test@leancode.pl', 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(