Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Cypress 14 project+workflows, cypress+tests cleanup, public demo UV_USE_IO_URING, etc. #6175

Merged
merged 11 commits into from
Feb 17, 2025
68 changes: 68 additions & 0 deletions test/cypress/executor-tests/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,73 @@
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
metadata:
name: cypress-workflow-smoke-14
labels:
core-tests: workflows
spec:
content:
git:
uri: https://github.com/kubeshop/testkube
revision: cypress-14-project-and-cleanup # TODO: update before merge
paths:
- test/cypress/executor-tests/cypress-14
container:
resources:
requests:
cpu: 2
memory: 2Gi
workingDir: /data/repo/test/cypress/executor-tests/cypress-14
steps:
- name: Run tests
run:
image: cypress/included:14.0.3
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
steps:
- name: Saving artifacts
workingDir: /data/artifacts
artifacts:
paths:
- '**/*'
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
metadata:
name: cypress-workflow-smoke-14-template
labels:
core-tests: workflows
spec:
content:
git:
uri: https://github.com/kubeshop/testkube
revision: cypress-14-project-and-cleanup # TODO: update before merge
paths:
- test/cypress/executor-tests/cypress-14
container:
resources:
requests:
cpu: 2
memory: 2Gi
workingDir: /data/repo/test/cypress/executor-tests/cypress-14
env:
- name: CYPRESS_CUSTOM_ENV
value: CYPRESS_CUSTOM_ENV_value
steps:
- name: Run from template
template:
name: official/cypress/v1
config:
version: 14.0.3
run: "npx cypress run --env NON_CYPRESS_ENV=NON_CYPRESS_ENV_value --config '{\"screenshotsFolder\":\"/data/artifacts/screenshots\",\"videosFolder\":\"/data/artifacts/videos\"}'"
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
metadata:
name: cypress-workflow-smoke-13
labels:
Expand Down
Loading
Loading