You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
before(() => {
cy.visit('/')
cy.once('uncaught:exception', () => false);
cy.log('Wrap inbox before test');
return cy.mailslurp()
.then(mailslurp => mailslurp.createInbox())
.then(inbox => {
cy.log(`Inbox id ${inbox.id}`)
// save inbox id and email address to this (make sure you use function and not arrow syntax)
cy.wrap(inbox.id).as('inboxId')
cy.wrap(inbox.emailAddress).as('emailAddress')
email = inbox.emailAddress;
})
})
Though, i am getting same error, mailslurp is not function. can someone please help me with this?
The text was updated successfully, but these errors were encountered:
I have set up everything which is there in documenation, Below is the step which I have done in my project.
Version: "cypress-mailslurp": "^1.5.0"
cypress.config.ts
cypress/support/commands.ts
cypress/support/e2e.ts
cypress/e2e/authentication/authenticationActions.cy.ts
Though, i am getting same error, mailslurp is not function. can someone please help me with this?
The text was updated successfully, but these errors were encountered: