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
9e5925f82c
commit
56e61db444
@ -99,8 +99,8 @@ Then('I see all the reported posts including the one from above', () => {
|
||||
`
|
||||
)
|
||||
cy.wrap(interception.response.body)
|
||||
.should('have.nested.property', 'data.reports.0')
|
||||
.and('not.be.null')
|
||||
.should('have.nested.property', 'data.reports.0.resource.author.id')
|
||||
.and('equal', 'annoying-user')
|
||||
})
|
||||
|
||||
cy.get('table tbody').within(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user