From a98068749ed7efa08556916f1c17090e40282eb5 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Wed, 3 Jan 2024 11:37:34 -0800 Subject: [PATCH] More robust UI Test Setup --- run-tests.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index eb9c68c5..a3b3b696 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -5,11 +5,11 @@ sed "s|featurePaths: REPLACED_BY_SCRIPT|featurePaths: [$paths]|" integra flutter pub run build_runner clean flutter pub run build_runner build --delete-conflicting-outputs -PATH=$PATH:$PWD/linux/Tor -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$PWD/linux/":"$PWD/linux/Tor/" -PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH LOG_FILE=test.log CWTCH_HOME=$PWD/integration_test/env/temp/ flutter test -d linux --dart-define TEST_MODE=true integration_test/gherkin_suite_test.dart -#node index2.js -#if [ "$HEADLESS" = "false" ]; then +PATH=$PATH:"$PWD/linux/Tor" +LD_LIBRARY_PATH="$PWD/linux/":"$PWD/linux/Tor/":$LD_LIBRARY_PATH +env PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH LOG_FILE=test.log CWTCH_HOME=$PWD/integration_test/env/temp/ flutter test -d linux --dart-define TEST_MODE=true integration_test/gherkin_suite_test.dart +# node index2.js +# if [ "$HEADLESS" = "false" ]; then # xdg-open integration_test/gherkin/reports/cucumber_report.html -#fi +# fi