mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
clean up
This commit is contained in:
parent
2fa8be30c5
commit
9e5925f82c
@ -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')
|
||||
|
||||
@ -17,5 +17,4 @@ When("I click on {string}", element => {
|
||||
cy.get(elementSelectors[element])
|
||||
.click()
|
||||
.wait(750);
|
||||
cy.waitForNetworkIdle(2000);
|
||||
});
|
||||
Loading…
x
Reference in New Issue
Block a user