Skip to content

Commit

Permalink
Add Cypress and basic WordPress log in/out test
Browse files Browse the repository at this point in the history
  • Loading branch information
markjaquith committed Aug 24, 2021
1 parent b15d588 commit 97f4a32
Show file tree
Hide file tree
Showing 10 changed files with 1,623 additions and 29 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,8 @@ vendor

# General
NOTES.md

# Cypress
/cypress.env.json
/tests/cypress/videos
/tests/cypress/screenshots
4 changes: 4 additions & 0 deletions cypress.env.json.EXAMPLE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"wp_username": "Copy this file, remove .EXAMPLE extension, and put your local WordPress username here",
"wp_password": "Put your local WordPress password here"
}
10 changes: 10 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"baseUrl": "http://cmb2.test",
"fileServerFolder": "tests/cypress",
"fixturesFolder": "tests/cypress/fixtures",
"integrationFolder": "tests/cypress/integration",
"pluginsFile": "tests/cypress/plugins/index.js",
"screenshotsFolder": "tests/cypress/screenshots",
"supportFile": "tests/cypress/support/index.js",
"videosFolder": "tests/cypress/videos"
}
Loading

0 comments on commit 97f4a32

Please sign in to comment.