Skip to content

Commit abb37a3

Browse files
committed
Cypress packages and folders setup with a first test
1 parent aa2a3ce commit abb37a3

File tree

5 files changed

+34225
-6837
lines changed

5 files changed

+34225
-6837
lines changed

cypress.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const HOST = `http://localhost:1234` // Please adjust to your own app port
2+
3+
describe(`My first test`, () => {
4+
before(() => {
5+
cy.visit(HOST) // Visit our app
6+
})
7+
8+
it('Should visit the dashboard', () => {
9+
cy.url().should('match', new RegExp(HOST)) // The current host URL
10+
})
11+
})

0 commit comments

Comments
 (0)