mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix typo
This commit is contained in:
parent
7528d32dfc
commit
a5eca59f88
@ -8,7 +8,7 @@ Given('somebody reported the following posts:', table => {
|
||||
url: '/',
|
||||
hostname: 'localhost',
|
||||
port: 4000,
|
||||
}).as('postToLocalhoast')
|
||||
}).as('postToLocalhost')
|
||||
|
||||
table.hashes().forEach(({ submitterEmail, resourceId, reasonCategory, reasonDescription }) => {
|
||||
const submitter = {
|
||||
@ -27,13 +27,13 @@ Given('somebody reported the following posts:', table => {
|
||||
reasonCategory,
|
||||
reasonDescription
|
||||
})
|
||||
cy.wait(['@postToLocalhoast']).then((interception) => {
|
||||
cy.wait(['@postToLocalhost']).then((interception) => {
|
||||
cy.wrap(interception.response.statusCode).should('eq', 200)
|
||||
})
|
||||
cy.wait(['@postToLocalhoast']).then((interception) => {
|
||||
cy.wait(['@postToLocalhost']).then((interception) => {
|
||||
cy.wrap(interception.response.statusCode).should('eq', 200)
|
||||
})
|
||||
cy.wait(['@postToLocalhoast']).then((interception) => {
|
||||
cy.wait(['@postToLocalhost']).then((interception) => {
|
||||
console.log('Cypress interception:', interception)
|
||||
cy.wrap(interception.response.statusCode).should('eq', 200)
|
||||
cy.wrap(interception.response.body)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user