Cypress · Method
cy.mount
cy.mount() is a custom command for Cypress component tests. Define it in a support file by calling the framework-specific mount function, then use it in specs.
Last updated
Syntax
Cypress.Commands.add('mount', (component, options) => mount(component, options))In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
mount()Cypress.Commands.add()Cypress.Chainablecypress/reactcypress/vuecypress/angular