Skip to content

Commit 9e60d6b

Browse files
committed
Add apt-get packages for pw and set correct osx node path
1 parent be81c86 commit 9e60d6b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

eng/helix/content/runtests.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,19 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
3131
export PLAYWRIGHT_BROWSERS_PATH="$DIR/ms-playwright"
3232
if [[ "$helixQueue" == *"OSX"* ]]; then
3333
export PLAYWRIGHT_DRIVER_PATH="$DIR/.playwright/osx/native/playwright.sh"
34+
PLAYWRIGHT_NODE_PATH=$DIR/.playwright/osx/native/node
3435
else
3536
export PLAYWRIGHT_DRIVER_PATH="$DIR/.playwright/unix/native/playwright.sh"
37+
PLAYWRIGHT_NODE_PATH=$DIR/.playwright/unix/native/node"
3638
fi
3739
export InstallPlaywright="$installPlaywright"
3840
if [ -f "$PLAYWRIGHT_DRIVER_PATH" ]; then
41+
echo "sudo apt-get install libdbus-glib-1-2 (for playwright)"
42+
sudo apt-get install libdbus-glib-1-2
3943
echo "chmod +x $PLAYWRIGHT_DRIVER_PATH"
4044
chmod +x $PLAYWRIGHT_DRIVER_PATH
41-
echo "chmod +x $DIR/.playwright/unix/native/node"
42-
chmod +x $DIR/.playwright/unix/native/node
45+
echo "chmod +x $PLAYWRIGHT_NODE_PATH"
46+
chmod +x PLAYWRIGHT_NODE_PATH
4347
fi
4448
4549
RESET="\033[0m"

0 commit comments

Comments
 (0)