test headless mode with screenshot

This commit is contained in:
Henry Jameson 2019-11-20 22:28:58 +02:00
parent 1bad0a6856
commit 370494fd87
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ test:
- mkdir -pv $APT_CACHE_DIR && apt-get -qq update
- apt install firefox-esr -y --no-install-recommends
- firefox --version
- firefox --headless --screenshot test.jpg https://pleroma.social/
- yarn
- yarn unit