Skip to content

Commit b96c767

Browse files
committed
fixed test
1 parent e2d24f5 commit b96c767

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/webview_flutter/webview_flutter_android/example/integration_test/webview_flutter_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,11 @@ Future<void> main() async {
535535
// Makes sure we get the correct event that indicates the video is actually playing.
536536
await videoPlaying.future;
537537

538-
dynamic fullScreen =
538+
Object fullScreen =
539539
await controller.runJavaScriptReturningResult('isFullScreen();');
540540

541541
if (fullScreen is String) {
542-
fullScreen = fullScreen == 'isFullScreen();';
542+
fullScreen = fullScreen == 'true';
543543
}
544544

545545
expect(fullScreen, false);

0 commit comments

Comments
 (0)