diff --git a/frontend/webapp/cypress/e2e/spec.cy.ts b/frontend/webapp/cypress/e2e/spec.cy.ts index 173acfca1..3fc47176b 100644 --- a/frontend/webapp/cypress/e2e/spec.cy.ts +++ b/frontend/webapp/cypress/e2e/spec.cy.ts @@ -2,6 +2,6 @@ describe('template spec', () => { it('passes', () => { cy.visit('/'); - expect(true).to.equal(true); + expect(true).to.equal(false); }); }); diff --git a/tests/e2e/ui/cypress-test.yaml b/tests/e2e/ui/cypress-test.yaml index bb45fcef5..caee248e3 100644 --- a/tests/e2e/ui/cypress-test.yaml +++ b/tests/e2e/ui/cypress-test.yaml @@ -1,4 +1,4 @@ -apiVersion: v1 +apiVersion: chainsaw.kyverno.io/v1alpha1 kind: Test metadata: name: ui-cypress @@ -7,17 +7,14 @@ spec: skipDelete: true steps: - name: Start the UI - try: - - script: - timeout: 300s - content: ../../common/odigos_ui.sh start + script: + timeout: 300s + content: ../../common/odigos_ui.sh start - name: Test the UI - try: - - script: - timeout: 300s - content: ../../common/odigos_ui.sh test + script: + timeout: 300s + content: ../../common/odigos_ui.sh test - name: End the UI - try: - - script: - timeout: 60s - content: ../../common/odigos_ui.sh end + script: + timeout: 60s + content: ../../common/odigos_ui.sh end