From 05a9b566892fb9393806db1e0b1ded1145311005 Mon Sep 17 00:00:00 2001 From: mahula Date: Wed, 1 Oct 2025 09:12:54 +0200 Subject: [PATCH] make test fail to verify artefact upload --- .../e2e/authentification/login.form-elements.cy.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cypress/e2e/authentification/login.form-elements.cy.ts b/cypress/e2e/authentification/login.form-elements.cy.ts index 2105c5af..d7946b24 100644 --- a/cypress/e2e/authentification/login.form-elements.cy.ts +++ b/cypress/e2e/authentification/login.form-elements.cy.ts @@ -47,4 +47,15 @@ describe('Utopia Map Login Form Elements', () => { .should('be.visible') .should('contain.text', 'Forgot Password?') }) + + it('should fail intentionally to test artifact upload', () => { + // This test is intentionally failing to verify artifact creation and upload + cy.get('h2').should('contain.text', 'Login') + + // Take a screenshot before the intentional failure + cy.screenshot('before-intentional-failure') + + // This assertion will fail intentionally + cy.get('body').should('contain.text', 'This text does not exist on the page') + }) })