Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
18e6d22
lets see if integration tests run
bparrishMines Jul 8, 2021
2025b84
change folder name
bparrishMines Jul 12, 2021
ddf5d91
create a running test with ./gradlew app:connectedAndroidTest -Ptarge…
bparrishMines Jul 13, 2021
562cc4d
see if tests run on ci?.
bparrishMines Jul 14, 2021
cad641b
fix a few tests
bparrishMines Jul 17, 2021
b94cfbb
try get all tests passing
bparrishMines Jul 17, 2021
744c395
fluttertestrunner and placeholder test
bparrishMines Jul 18, 2021
6d9f282
formatting
bparrishMines Jul 18, 2021
e5ea80c
fix blank test, formatting, license
bparrishMines Jul 18, 2021
2489c44
undo formatting change and remove navigation delegate
bparrishMines Jul 18, 2021
76d612e
Improve example test and version bump test dependencies
bparrishMines Jul 19, 2021
dc6be9a
remove assertequals
bparrishMines Jul 19, 2021
8713690
small format changes
bparrishMines Jul 19, 2021
648e94c
license
bparrishMines Jul 19, 2021
3619762
remove truth dependency, change core dep and follow example
bparrishMines Jul 19, 2021
ffe0058
undo the test change
bparrishMines Jul 19, 2021
f624087
Merge branch 'master' of github.com:flutter/plugins into androidTest
bparrishMines Jul 20, 2021
a10bfde
readd analysisoptions
bparrishMines Jul 20, 2021
42b7238
remove top line
bparrishMines Jul 20, 2021
927b9fe
empty commit to check for flakes
bparrishMines Jul 20, 2021
089fa76
skip tests
bparrishMines Jul 22, 2021
77b45f1
Merge branch 'master' of github.com:flutter/plugins into androidTest
bparrishMines Jul 22, 2021
7e73bb1
remove webview_flutter
bparrishMines Jul 22, 2021
79d82c4
Merge branch 'master' of github.com:flutter/plugins into androidTest
bparrishMines Jul 22, 2021
d34c705
Merge branch 'master' into androidTest
bparrishMines Jul 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try get all tests passing
  • Loading branch information
bparrishMines committed Jul 17, 2021
commit b94cfbbc9e10e1ab8933353a2e2a5a4e98774ed2
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,28 @@ import 'package:integration_test/integration_test.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

testWidgets('initialUrl', (WidgetTester tester) async {
final Completer<WebViewController> controllerCompleter =
Completer<WebViewController>();
await tester.pumpWidget(
Directionality(
textDirection: TextDirection.ltr,
child: WebView(
key: GlobalKey(),
initialUrl: 'https://flutter.dev/',
onWebViewCreated: (WebViewController controller) {
controllerCompleter.complete(controller);
},
testWidgets(
'initialUrl',
(WidgetTester tester) async {
final Completer<WebViewController> controllerCompleter =
Completer<WebViewController>();
await tester.pumpWidget(
Directionality(
textDirection: TextDirection.ltr,
child: WebView(
key: GlobalKey(),
initialUrl: 'https://flutter.dev/',
onWebViewCreated: (WebViewController controller) {
controllerCompleter.complete(controller);
},
),
),
),
);
final WebViewController controller = await controllerCompleter.future;
final String? currentUrl = await controller.currentUrl();
expect(currentUrl, 'https://flutter.dev/');
});
);
final WebViewController controller = await controllerCompleter.future;
final String? currentUrl = await controller.currentUrl();
expect(currentUrl, 'https://flutter.dev/');
},
);

testWidgets('loadUrl', (WidgetTester tester) async {
final Completer<WebViewController> controllerCompleter =
Expand Down