make test fail to verify artefact upload

This commit is contained in:
mahula 2025-10-01 09:12:54 +02:00
parent 7a73347966
commit 05a9b56689

View File

@ -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')
})
})