mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
refine interception assertion
This commit is contained in:
parent
56e61db444
commit
eecdb66024
@ -7,7 +7,7 @@ Then('I see all the reported posts including the one from above', () => {
|
||||
hostname: 'localhost',
|
||||
}).as('getReports')
|
||||
|
||||
cy.wait(['@getReports']).then((interception) => {
|
||||
cy.wait(['@getReports'],{ timeout: 10000 }).then((interception) => {
|
||||
console.log('Cypress interception:', interception)
|
||||
cy.wrap(interception.response.statusCode).should('eq', 200)
|
||||
cy.wrap(interception.request.body)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user