Complete the code to visit the homepage using Cypress.
cy.[1]('/')
The visit command loads a page by URL in Cypress.
Complete the code to create an action that clicks a button with id 'submit'.
cy.get('#submit').[1]()
The click command simulates a user clicking the button.
Fix the error in the action that types 'hello' into an input with class 'name'.
cy.get('.name').[1]('hello')
The type command inputs text into form fields.
Fill both blanks to create an action that checks if a button with text 'Submit' is visible.
cy.contains('Submit').[1]().should('[2]')
The click triggers the button, but to check visibility, use should('be.visible').
Fill all three blanks to create an action that types 'test' into input with id 'email', then asserts it contains 'test'.
cy.get('#email').[1]('test').should('[2]', [3])
Use type to enter text, then should('include', 'test') to assert the input contains the text.
