Skip to content

Commit

Permalink
Merge pull request #2030 from woocommerce/e2e/setup-wp-env
Browse files Browse the repository at this point in the history
Setup wp-env for E2E tests
  • Loading branch information
mikkamp authored Aug 1, 2023
2 parents 880f744 + 6211ea8 commit d3b4e39
Show file tree
Hide file tree
Showing 6 changed files with 601 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"phpVersion": "8.0",
"plugins": [
"https://downloads.wordpress.org/plugin/woocommerce.latest-stable.zip",
"https://github.com/WP-API/Basic-Auth/archive/master.zip",
"."
],
"lifecycleScripts": {
"afterStart": "./tests/e2e/bin/test-env-setup.sh",
"afterClean": "./tests/e2e/bin/test-env-setup.sh"
}
}
Loading

0 comments on commit d3b4e39

Please sign in to comment.