Created
September 16, 2019 04:13
-
-
Save luandevpro/7fdea3654ad0d6842f7e01d12e3a05aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <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