2019-11-25 00:42:27 +00:00
|
|
|
#!/bin/bash
|
2019-12-14 15:08:15 +00:00
|
|
|
# on linux/macOS local IP can be found using $(ipconfig getifaddr en0)
|
2019-11-25 00:42:27 +00:00
|
|
|
export NODE_SERVER_IP=$1
|
|
|
|
dart tool/env.dart
|
|
|
|
cd nodejs_server_test_auth_basic_and_ssl
|
|
|
|
node index.js &
|
|
|
|
cd ../example
|
2020-05-09 02:36:07 +00:00
|
|
|
flutter clean
|
2019-11-25 00:42:27 +00:00
|
|
|
flutter driver -t test_driver/app.dart
|
|
|
|
kill $(jobs -p)
|