Skip to content

Commit

Permalink
adds cypress and config
Browse files Browse the repository at this point in the history
  • Loading branch information
tzmanics committed Jun 10, 2022
1 parent 4d57e8b commit 3b44d7f
Show file tree
Hide file tree
Showing 4 changed files with 1,489 additions and 10 deletions.
8 changes: 8 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const { defineConfig } = require("cypress");

module.exports = defineConfig({
e2e: {
baseUrl: 'http://localhost:8888',
supportFile: false,
},
});
10 changes: 10 additions & 0 deletions cypress/e2e/basic.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
describe('empty spec', () => {
beforeEach(() => {
cy.visit('/')
})

it('displays the title text', () => {
cy.get('h2')
.contains('Essentials for a cold winter');
})
})
Loading

0 comments on commit 3b44d7f

Please sign in to comment.