0.1.0 • Published 2 years ago
wp-playwright-utils v0.1.0
ℹ️ WP Playwright Test Utils
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.
✅ Requirements
ℹ️ Installation
yarn add wp-playwright-utils --dev
📖 Utilities
loginUser
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 |
🤝 Contributing
Contributions are welcome from everyone. For major changes, please open an issue first to discuss what you would like to change.
🔖 License
Distributed under the MIT License. See LICENSE
for more information.
0.1.0
2 years ago