End-To-End (E2E) test utils for Playwright to be used in a WordPress environment.
The utilities included in this library are meant to be used together with a testing environment created via the @wordpress/env package.
yarn add wp-playwright-utils --dev
Performs log in with specified username and password.
Parameters:
Parameter | Type | Description |
---|---|---|
username | string | String to be used as user credential |
password | string | String to be used as password credential |
Contributions are welcome from everyone. For major changes, please open an issue first to discuss what you would like to change.
Distributed under the MIT License. See LICENSE
for more information.