feat: init cypress

This commit is contained in:
Lin, Hung-Shin committed 2023-09-25 13:28:52 +08:00
1 parent 2524acecf4
commit 94e8940369
9 files changed
+834 -22

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
/// <reference types="cypress" />
describe('example helloworld app', () => {
beforeEach(() => {
cy.visit('http://localhost:5173')
})
it('open login page', () => {
cy.get('#username').type('alex')
cy.get('#password').type('123456{enter}')
})
})