Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix stress-test snapshot conditions (#67344)

Nemanja Glumac0ddc4ab309ce
diff --git a/.github/workflows/e2e-stress-test-flake-fix.yml b/.github/workflows/e2e-stress-test-flake-fix.yml
index 9534cc93271..94f2f37ab09 100644
--- a/.github/workflows/e2e-stress-test-flake-fix.yml
+++ b/.github/workflows/e2e-stress-test-flake-fix.yml
@@ -128,10 +128,16 @@ jobs:
- name: Run Metabase
run: node e2e/runner/run_cypress_ci.js start
- - name: Generate database snapshots
+ - name: Generate default database snapshot
+ if: inputs.qa_db == false # true boolean, do not use string here!
run: |
node e2e/runner/run_cypress_ci.js snapshot \
- --env grepTags="${{inputs.qa_db && '' || '-@external'}}"
+ --spec "e2e/snapshot-creators/default.cy.snap.js"
+
+ - name: Generate all database snapshots
+ if: inputs.qa_db
+ run: |
+ node e2e/runner/run_cypress_ci.js snapshot
# For all options and fine-grained control, take a look at the documentation
# https://github.com/cypress-io/cypress/tree/develop/npm/grep