From 1eb6dbbeddb6dd122e8efe79bd4761d63e411337 Mon Sep 17 00:00:00 2001 From: Alexander Rowe Date: Tue, 17 Sep 2024 11:45:50 -0700 Subject: [PATCH] Added Detached console changes --- .github/workflows/testdriver.yml | 2 +- testdriver/test.yml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testdriver.yml b/.github/workflows/testdriver.yml index 22160e5..1fc338a 100644 --- a/.github/workflows/testdriver.yml +++ b/.github/workflows/testdriver.yml @@ -20,9 +20,9 @@ jobs: cd $env:TEMP npm init -y npm install dashcam-chrome + Start-Process react-scripts start cd C:\actions-runner\_work\testdriver\testdriver npm install - Start-Process -NoNewWindow react-scripts start Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "--load-extension=$(pwd)/node_modules/dashcam-chrome/build", "${{ env.WEBSITE_URL }}" exit env: diff --git a/testdriver/test.yml b/testdriver/test.yml index 823b6d7..368671d 100644 --- a/testdriver/test.yml +++ b/testdriver/test.yml @@ -18,3 +18,11 @@ steps: action: click - command: type text: My Task Title + - prompt: Close Terminal Window + commands: + - command: focus-application + name: Windows PowerShell + - command: press-keys + keys: + - alt + - f4