From 993ec90cc0c90a4a969861db0d756beee362dfd5 Mon Sep 17 00:00:00 2001 From: Ben Elferink Date: Wed, 4 Dec 2024 19:25:08 +0200 Subject: [PATCH] Bring back YAML/try and follow file-name convention (#1916) --- tests/e2e/ui/chainsaw-test.yaml | 23 +++++++++++++++++++++++ tests/e2e/ui/cypress-test.yaml | 20 -------------------- 2 files changed, 23 insertions(+), 20 deletions(-) create mode 100644 tests/e2e/ui/chainsaw-test.yaml delete mode 100644 tests/e2e/ui/cypress-test.yaml diff --git a/tests/e2e/ui/chainsaw-test.yaml b/tests/e2e/ui/chainsaw-test.yaml new file mode 100644 index 000000000..5bd137812 --- /dev/null +++ b/tests/e2e/ui/chainsaw-test.yaml @@ -0,0 +1,23 @@ +apiVersion: chainsaw.kyverno.io/v1alpha1 +kind: Test +metadata: + name: ui-cypress +spec: + description: Run E2E tests against Odigos UI using Cypress + skipDelete: true + steps: + - name: Start the UI + try: + - script: + timeout: 300s + content: ../../common/odigos_ui.sh start + - name: Test the UI + try: + - script: + timeout: 300s + content: ../../common/odigos_ui.sh test + - name: End the UI + try: + - script: + timeout: 60s + content: ../../common/odigos_ui.sh end diff --git a/tests/e2e/ui/cypress-test.yaml b/tests/e2e/ui/cypress-test.yaml deleted file mode 100644 index caee248e3..000000000 --- a/tests/e2e/ui/cypress-test.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: chainsaw.kyverno.io/v1alpha1 -kind: Test -metadata: - name: ui-cypress -spec: - description: Run E2E Cypress tests VS. Odigos UI - skipDelete: true - steps: - - name: Start the UI - script: - timeout: 300s - content: ../../common/odigos_ui.sh start - - name: Test the UI - script: - timeout: 300s - content: ../../common/odigos_ui.sh test - - name: End the UI - script: - timeout: 60s - content: ../../common/odigos_ui.sh end