mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-23 16:32:11 +03:00
Begin setting up puppeteer runs without snapshots
This commit is contained in:
parent
0feda5359d
commit
b09e6d6158
@ -116,7 +116,9 @@ main = do
|
||||
percyToken <- getEnv "PERCY_TOKEN"
|
||||
case percyToken of
|
||||
Nothing -> do
|
||||
writeFileChanged out "Skipped running Percy tests, PERCY_TOKEN not set."
|
||||
writeFileChanged out "PERCY_TOKEN not set, so skipping visual diff testing."
|
||||
need ["log/npm-install.txt", "log/public.txt"]
|
||||
cmd (WithStdout True) (FileStdout out) "script/local-test-run.sh"
|
||||
Just _ -> do
|
||||
need ["log/npm-install.txt", "log/public.txt"]
|
||||
cmd (WithStdout True) (FileStdout out) "script/percy-tests.sh"
|
||||
|
3
script/local-test-run.sh
Executable file
3
script/local-test-run.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
npx mocha script/percy-tests.js --exit
|
Loading…
Reference in New Issue
Block a user