mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
feat: init cypress
This commit is contained in:
1 parent
2524acecf4
commit
94e8940369
9 files changed
+834
-22
No files matched your search
@@ -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}')
|
||||
})
|
||||
})
|
||||
Reference in new issue
Block a user