diff --git a/test/edge-cases/failures.yaml b/test/edge-cases/failures.yaml index 48ca745c313..64cfc876cd5 100644 --- a/test/edge-cases/failures.yaml +++ b/test/edge-cases/failures.yaml @@ -260,3 +260,32 @@ spec: executionRequest: jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 512Mi\n" activeDeadlineSeconds: 1 +--- +apiVersion: tests.testkube.io/v3 +kind: Test +metadata: + name: expected-fail-cypress-oomkilled + labels: + core-tests: executors +spec: + type: cypress:v12/test + content: + type: git + repository: + type: git + uri: https://github.com/kubeshop/testkube + branch: main + path: test/cypress/executor-tests/cypress-12 + executionRequest: + variables: + CYPRESS_CUSTOM_ENV: + name: CYPRESS_CUSTOM_ENV + value: CYPRESS_CUSTOM_ENV_value + type: basic + args: + - --env + - NON_CYPRESS_ENV=NON_CYPRESS_ENV_value + - --config + - video=true + jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n limits:\n memory: 30Mi\n cpu: 1\n" + activeDeadlineSeconds: 600 diff --git a/test/suites/edge-cases-expected-failures.yaml b/test/suites/edge-cases-expected-failures.yaml index 330b56e90bf..9b6c0dc19ca 100644 --- a/test/suites/edge-cases-expected-failures.yaml +++ b/test/suites/edge-cases-expected-failures.yaml @@ -52,4 +52,7 @@ spec: - test: expected-fail-jmeter-oomkilled - stopOnFailure: false execute: - - test: expected-fail-jmeter-timeout \ No newline at end of file + - test: expected-fail-jmeter-timeout + - stopOnFailure: false + execute: + - test: expected-fail-cypress-oomkilled