diff --git a/test/special-cases/test-workflows/edge-cases-expected-fails.yaml b/test/special-cases/test-workflows/edge-cases-expected-fails.yaml index 326bfca602d..f7df7454721 100644 --- a/test/special-cases/test-workflows/edge-cases-expected-fails.yaml +++ b/test/special-cases/test-workflows/edge-cases-expected-fails.yaml @@ -10,7 +10,7 @@ spec: uri: https://github.com/kubeshop/testkube revision: main paths: - - test/cypress/executor-tests/cypress + - test/cypress/executor-tests/some-incorrect-path container: resources: requests: @@ -36,6 +36,42 @@ spec: --- apiVersion: testworkflows.testkube.io/v1 kind: TestWorkflow +metadata: + name: expected-fail-cypress-incorrect-image-name + labels: + core-tests: expected-fail +spec: + content: + git: + uri: https://github.com/kubeshop/testkube + revision: main + paths: + - test/cypress/executor-tests/cypress-13 + container: + resources: + requests: + cpu: 2 + memory: 2Gi + workingDir: /data/repo/test/cypress/executor-tests/cypress-13 + steps: + - name: Run tests + run: + image: cypress/some-incorrect-name:13.6.4 + args: + - --env + - NON_CYPRESS_ENV=NON_CYPRESS_ENV_value + - --config + - '{"screenshotsFolder":"/data/artifacts/screenshots","videosFolder":"/data/artifacts/videos"}' + env: + - name: CYPRESS_CUSTOM_ENV + value: CYPRESS_CUSTOM_ENV_value + artifacts: + workingDir: /data/artifacts + paths: + - '**/*' +--- +apiVersion: testworkflows.testkube.io/v1 +kind: TestWorkflow metadata: name: expected-fail-cypress-incorrect-workingdir labels: diff --git a/test/suites/special-cases/test-workflows/edge-cases-expected-fails.yaml b/test/suites/special-cases/test-workflows/edge-cases-expected-fails.yaml index f0a3d4f97d9..45bc33343d0 100644 --- a/test/suites/special-cases/test-workflows/edge-cases-expected-fails.yaml +++ b/test/suites/special-cases/test-workflows/edge-cases-expected-fails.yaml @@ -9,6 +9,7 @@ spec: - execute: workflows: - name: expected-fail-cypress-incorrect-repo-path + - name: expected-fail-cypress-incorrect-image-name - name: expected-fail-cypress-incorrect-workingdir - name: expected-fail-cypress-resource-limits - name: expected-fail-cypress-artifacts-condition-always-with-artifacts