This commit is contained in:
mahula 2023-05-27 13:48:41 +02:00
parent 2fa8be30c5
commit 9e5925f82c
2 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ Given('somebody reported the following posts:', table => {
cy.wrap(interception.response.statusCode).should('eq', 200)
})
cy.wait(['@postToLocalhost']).then((interception) => {
console.log('Cypress interception:', interception)
cy.wrap(interception.response.statusCode).should('eq', 200)
cy.wrap(interception.response.body)
.should('have.nested.property', 'data.fileReport.reportId')

View File

@ -17,5 +17,4 @@ When("I click on {string}", element => {
cy.get(elementSelectors[element])
.click()
.wait(750);
cy.waitForNetworkIdle(2000);
});