From d26d7bda02260d55afff411294a596d0ed9a2731 Mon Sep 17 00:00:00 2001 From: Madis Liias Date: Sat, 30 Nov 2024 16:23:44 +0200 Subject: [PATCH] fix macos e2e test --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a467e7..b9e17be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -216,9 +216,12 @@ jobs: run: | target_dir='target/universal-apple-darwin/release' cd "$target_dir" - set -x + #set -x - command_output="$(open ./Browsers.app -W --stdout $(tty) --stderr $(tty) --args --no-gui https://browsers.software)" + touch ./output_file + open ./Browsers.app -W --stdout output_file --stderr output_file --args --no-gui https://browsers.software + + command_output=`cat ./output_file` echo "$command_output" if "$command_output" | grep -q 'Safari'; then