Skip to content
Snippets Groups Projects
Unverified Commit a38eaa05 authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

[E2E] Simplify CircleCI Cypress workflow (#23123)

parent 3ad532b9
No related merge requests found
......@@ -908,6 +908,9 @@ jobs:
test-files:
type: string
default: ""
grep:
type: string
default: ""
qa-db:
type: boolean
default: false
......@@ -944,6 +947,7 @@ jobs:
# Make both `test-files`, `source-folder` and `currents-record` parameters optional. Translates to: if `parameter` => run associated flag (`--spec`, `--folder` and `--key $CURRENTS_KEY --record` respectively)
command: |
run test-cypress-run \
<<# parameters.grep >> --env << parameters.grep >> <</ parameters.grep >> \
<<# parameters.test-files >> --spec << parameters.test-files >> <</ parameters.test-files >> \
<<# parameters.source-folder >> --folder << parameters.source-folder >> <</ parameters.source-folder >>
after-steps:
......@@ -1249,7 +1253,7 @@ workflows:
- fe-tests-cypress:
matrix:
parameters:
edition: ["ee", "oss"]
edition: ["ee"]
folder:
[
"admin",
......@@ -1276,6 +1280,22 @@ workflows:
- run-snowplow-micro
- wait-for-databases
- fe-tests-cypress:
matrix:
parameters:
edition: ["oss"]
name: e2e-tests-<< matrix.edition >>
requires:
- build-uberjar-<< matrix.edition >>
- snowplow-deps
cypress-group: e2e-tests-<< matrix.edition >>
grep: "grepTags=@OSS,grepFilterSpecs=true"
qa-db: true
snowplow: true
before-steps:
- run-snowplow-micro
- wait-for-databases
- fe-tests-cypress:
name: percy-visual-tests-<< matrix.edition >>
requires:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment