Skip to content

Commit

Permalink
workflow examples - expected failures extended
Browse files Browse the repository at this point in the history
  • Loading branch information
tkonieczny committed Jul 30, 2024
1 parent 5dfa07b commit dcf5eee
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion test/special-cases/test-workflows/edge-cases-expected-fails.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit dcf5eee

Please sign in to comment.