Split up visual markdown specs into sections

So that it's easier to spot changes.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2023-01-04 17:37:06 +01:00
parent 57600c8adf
commit c3c3d06380
3 changed files with 160 additions and 10 deletions
+11 -3
View File
@@ -76,13 +76,21 @@ jobs:
npm run test:e2e -- --project ${{ matrix.browser }};
fi
# We don't care about the logs in visual snapshot tests, only the images.
# If a build succeeds, clear any artifacts from failed retries, so they
# don't end up in the visual diff archive.
- name: Cleanup artifacts
if: success()
run: |
rm -rf tests/artifacts/*
# We don't care about logs in visual snapshot tests, only the images.
- name: Cleanup artifacts
if: always()
run: |
if [ ${{ matrix.browser }} = "visual" ]; then
shopt -s globstar
rm -rf tests/visual/snapshots/**/*.log
shopt -s globstar;
rm -rf tests/artifacts/**/*.log;
fi
- name: Upload artifacts
uses: actions/upload-artifact@v3