Skip to content

Commit

Permalink
First proper cyress setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Duivesteijn committed Aug 8, 2023
1 parent 93ceefd commit 85d3a09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ module.exports = defineConfig({
setupNodeEvents(on, config) {
// implement node event listeners here
},
baseUrl: 'https://example.cypress.io',
},
});
2 changes: 1 addition & 1 deletion cypress/e2e/first_spec.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
describe('template spec', () => {
it('passes', () => {
cy.visit('https://example.cypress.io')
cy.visit('/')
})
})
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"cypress:open": "cypress open"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 85d3a09

Please sign in to comment.