Install Playwright before running browser tests

This commit is contained in:
Thomas Nordquist
2025-12-24 16:49:46 +01:00
committed by GitHub
parent fe790ecd39
commit 7e5b013448

View File

@@ -36,6 +36,7 @@ trap finish EXIT
mosquitto & mosquitto &
export PID_MOSQUITTO=$! export PID_MOSQUITTO=$!
sleep 1 sleep 1
npx -y playwright install
# Set credentials for browser authentication (tests will use these to login) # Set credentials for browser authentication (tests will use these to login)
export MQTT_EXPLORER_USERNAME=${MQTT_EXPLORER_USERNAME:-test} export MQTT_EXPLORER_USERNAME=${MQTT_EXPLORER_USERNAME:-test}