Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created September 16, 2019 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luandevpro/7fdea3654ad0d6842f7e01d12e3a05aa to your computer and use it in GitHub Desktop.
Save luandevpro/7fdea3654ad0d6842f7e01d12e3a05aa to your computer and use it in GitHub Desktop.
/// <reference types="Cypress" />
context("test group" , () => {
it("a case test" , () => {
cy.visit('http://eaapp.somee.com/');
cy.contains("Login").click();
cy.url().should("include", "/Account/Login");
cy.get("#UserName").type("text");
cy.get("#Password").type("password");
cy.get("form").contains("Log in").click()
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment