mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
make test fail to verify artefact upload
This commit is contained in:
parent
7a73347966
commit
05a9b56689
@ -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')
|
||||
})
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user