test: add cypress sample code

This commit is contained in:
yubintw
2024-03-26 00:55:13 +08:00
parent 9df48062d4
commit 6eba69465a
7 changed files with 3027 additions and 7 deletions

View File

@@ -0,0 +1,6 @@
describe('My Todo Website Test', () => {
it('Should load my website "/" and contain title "My Todos"', () => {
cy.visit('/')
cy.contains('My Todos')
})
})