Files
ThreadNet-Web/apps/desktop/playwright/docker-entrypoint.sh
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
276 B
Bash
Raw Normal View History

#!/bin/bash
set -e
echo "Starting Xvfb"
Xvfb :99 -ac &
sleep 2
export DISPLAY=:99
2025-11-26 20:08:07 +00:00
PLAYWRIGHT_HTML_OPEN=never ELEMENT_DESKTOP_EXECUTABLE="./dist/linux-unpacked/element-desktop" \
2026-04-21 10:58:16 +01:00
exec pnpm -C apps/desktop exec playwright test --update-snapshots --reporter line,html "$1"