You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
583 B

/// <reference types="Cypress" />
describe("registration should", () => {
it.only("handle its form", () => {
cy.visit("/register")
cy.get("form")
.contains("Login")
.next("input")
.type("mylogin")
cy.get("form")
.contains("Password")
.next("input")
.type("mypassword")
cy.get("form")
.contains("Submit")
.click()
cy.url().should("not.contain", "?")
cy.get("#output").should("contain", "mylogin")
})
})