fix: tests
This commit is contained in:
parent
ce6f099912
commit
f6d1db3595
@ -17,7 +17,7 @@ context('Registration', () => {
|
|||||||
it('Should work without issues', () => {
|
it('Should work without issues', () => {
|
||||||
const fixture = {
|
const fixture = {
|
||||||
username: 'testuser',
|
username: 'testuser',
|
||||||
password: '123456',
|
password: '12345678',
|
||||||
email: 'testuser@example.com',
|
email: 'testuser@example.com',
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,10 +31,10 @@ context('Registration', () => {
|
|||||||
cy.get('h2').should('contain', `Hi ${fixture.username}!`)
|
cy.get('h2').should('contain', `Hi ${fixture.username}!`)
|
||||||
})
|
})
|
||||||
|
|
||||||
it.only('Should fail', () => {
|
it('Should fail', () => {
|
||||||
const fixture = {
|
const fixture = {
|
||||||
username: 'test',
|
username: 'test',
|
||||||
password: '123456',
|
password: '12345678',
|
||||||
email: 'testuser@example.com',
|
email: 'testuser@example.com',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user