Skip to content

Commit

Permalink
0.1.2 - Visit base URL before every test
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Defty committed Apr 7, 2020
1 parent b72aac5 commit e54957e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const unfetch = require('unfetch');

before(() => {
cy.resetDB();
});

beforeEach(() => {
cy.visit('/');
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bigbite/wp-cypress",
"version": "0.1.0",
"version": "0.1.2",
"description": "WordPress end to end testing with Cypress.io",
"main": "lib/index.js",
"repository": "https://github.com/bigbite/wp-cypress",
Expand Down

0 comments on commit e54957e

Please sign in to comment.