wp-e2e-tests
wp-e2e-tests copied to clipboard
Automated end-to-end tests for WordPress.com
WordPress.com End to End Tests
NOTE: This repo has been merged in to wp-calypso and the tests can be found in the /test/e2e directory.
Automated end-to-end acceptance tests for the wp-calypso client and WordPress.com in general.
Table of contents
- Pre-requisites
- Install NodeJS
- Install dependencies
- Configuration
- Test Configuration
- Config Values
- Standalone Environment Variables
- CircleCI Environment Variables
- Running tests
- How to run tests
- To run the default specs
- To run an individual spec
- To run with different modes
- To run a specific suite of specs
- To run headlessly
- How to run tests
- Writing tests
- Gutenberg blocks
- Style Guide
- Other information
- NodeJS Version
- Git Pre-Commit Hook
- Launch Logged-In Window
- User account requirements
- List of wrapper repos & friends
Pre-requisites
Install NodeJS
brew install node #MacOS
Or use nvm (Recommended)
Install dependencies
npm install
Configuration
See the configuration documentation for details on setting configuration values and environment variables.
Running tests
See the information on how to run tests where you'll find information on the flags and commands used to run the tests.
Other information
See the other information documentation for other details that may be of interest.