updated test script

This commit is contained in:
Lorenzo Pichilli 2023-11-28 02:37:48 +01:00
parent 3facb6a963
commit a931bbbbf6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)};');
}