Nature's Powerful Meme

    wp-playwright-utils
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.0 • Public • Published

    ℹ️ 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

    1. Playwright
    2. @wordpress/env

    ℹ️ 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.

    Keywords

    none

    Install

    npm i wp-playwright-utils

    DownloadsWeekly Downloads

    8

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    12 kB

    Total Files

    13

    Last publish

    Collaborators

    • alessandrotesoro