diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 7749d12e9..8dd86772d 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -152,6 +152,16 @@ jobs: path: | ui-tests/playwright-report + - name: Update snapshots + if: failure() + run: | + cd ui-tests + # remove previous snapshots from other browser + jlpm rimraf "tests/**/*-snapshots/*.png" + jlpm rimraf "stability_test/**/*-snapshots/*.png" + # generate new snapshots + jlpm run test:update --browser ${{ matrix.browser }} + - name: Print JupyterLab logs if: always() run: | diff --git a/ui-tests/tests/voila.test.ts-snapshots/reveal-linux.png b/ui-tests/tests/voila.test.ts-snapshots/reveal-linux.png deleted file mode 100644 index 8f1fc566c..000000000 Binary files a/ui-tests/tests/voila.test.ts-snapshots/reveal-linux.png and /dev/null differ diff --git a/ui-tests/tests/voila.test.ts-snapshots/reveal-render-and-benchmark-linux.png b/ui-tests/tests/voila.test.ts-snapshots/reveal-render-and-benchmark-linux.png new file mode 100644 index 000000000..5f10df8a9 Binary files /dev/null and b/ui-tests/tests/voila.test.ts-snapshots/reveal-render-and-benchmark-linux.png differ