Closed lucasdonato closed 1 year ago
Hi Filip, when running more than one test within foreach, the timeout error occurs
I'm using cypress version 12.1.0 and cypress-plugin-api version 2.6.1
//It does not work const ceps = ['30350577', '01001000'] //it works //const ceps = ['30350577'] describe('GET CEP', () => { ceps.forEach(cep => { it('search cep', () => { cy.api(`https://viacep.com.br/ws/${cep}/json/`).then((req) => { expect(req.status).to.eq(200) }) }) }) })
hey @lucasdonato I believe the cause of this is not the cypress version, but the fact that you have two tests with identical name. I’ll fix this anyway, thanks for reporting!
Hi Filip, when running more than one test within foreach, the timeout error occurs
I'm using cypress version 12.1.0 and cypress-plugin-api version 2.6.1