updated test script
This commit is contained in:
parent
3facb6a963
commit
a931bbbbf6
|
@ -42,7 +42,7 @@ flutter --version
|
|||
flutter devices
|
||||
flutter clean
|
||||
flutter pub get
|
||||
cd $PROJECT_DIR/example
|
||||
cd $PROJECT_DIR/flutter_inappwebview/example
|
||||
flutter clean
|
||||
if [ ! -z "$2" ]; then
|
||||
flutter driver --driver=test_driver/integration_test.dart --target=integration_test/webview_flutter_test.dart --device-id=$DEVICE_ID
|
||||
|
|
|
@ -7,7 +7,7 @@ Future<void> main() async {
|
|||
'NODE_SERVER_IP': Platform.environment['NODE_SERVER_IP'],
|
||||
};
|
||||
|
||||
final filename = 'example/integration_test/env.dart';
|
||||
final filename = 'flutter_inappwebview/example/integration_test/env.dart';
|
||||
await File(filename)
|
||||
.writeAsString('final environment = ${json.encode(config)};');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue