Cypress only runs the first test in the test suite and does not proceed further
sambit-senapati opened this issue · comments
Current behavior
Cypress runs only the first test in the test suite and does not run the rest of the tests (the time keeps going but it doesn't proceed to the next test).
Example spec:
describe('Create Tests', () => { context('Submitting form', () => { beforeEach(() => { cy.login(testMainUserCreds.username, testMainUserCreds.password) }) it('test case 1', () => {} it('test case 2', () => { } }
I have verified the test suite by running in my colleagues laptop and it runs all of the test suite but the same test suite does not run fully for me
Below steps have been performed,
- cleared cookies
- re-installed cypress
Desired behavior
Cypress should run all of the tests in the test suite
Test code to reproduce
`describe('Create Tests', () => {
context('Submitting form', () => {
beforeEach(() => {
cy.login(testMainUserCreds.username, testMainUserCreds.password)
})
it('test case 1', () => {}
it('test case 2', () => {
}
}
`
Cypress Version
13.6.4
Node version
v18.14.0
Operating System
macOS 14.1.1
Debug Logs
No response
Other
No response
@sambit-senapati Could you please update to the latest Cypress and try rerunning? We did have an issue with this in a previous version that we fixed.
@sambit-senapati Could you please update to the latest Cypress and try rerunning? We did have an issue with this in a previous version that we fixed.
sure, will update and let you know, thanks