gulp的实验库,有时间可以看看
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.
 
 
 
 

13 lines
412 B

describe('The Home Page', () => {
beforeEach(() => {
cy.visit('http://localhost:8080')
})
it('标题的文字', () => {
cy.get('.login-title > span').should('have.text', "登录智慧能源")
})
it('输入账号密码', () => {
cy.get('.input.email .content-input input').type('have.text')
cy.get('.input.pwd .content-input input').type('have.text')
cy.get('.login').click()
})
})