Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

hideokamoto/node-wp-e2e-test-example

Repository files navigation

WordPress E2E test example

Getting started

$ git clone git@github.com:hideokamoto/node-wp-e2e-test-example.git
$ cd node-wp-e2e-test-example
$ yarn

Configure your WordPress

You can use your WordPress site to define the following environment variables.

  • WP_USERNAME
  • WP_PASSWORD
  • WP_BASE_URL
$ mv .envrc.example .envrc
$ vim .envrc
export WP_USERNAME=admin
export WP_PASSWORD=password
export WP_BASE_URL=http://localhost:8889
$ direnv allow

Run the test

$ yarn test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published