@stylable/e2e-test-kit
TypeScript icon, indicating that this package has built-in type declarations

6.1.0 • Public • Published

@stylable/e2e-test-kit

npm version

@stylable/e2e-test-kit serves as a collection of tools to help test Stylable components and applications. It offers various capabilities to bundle, run and test your project in memory, or in the browser.

StylableProjectRunner

Used to setup an E2E test project with @stylable/webpack-plugin and playwright. This allows testing an entire project setup, including stylable configuration, webpack configuration and the process of transpiling the project, performing your tests against a running browser.

You can find a set of example configuration setups here.

getStyleElementsMetadata

A playwright helper function aimed at extracting Stylable styling from the DOM for testing purposes.

License

Copyright (c) 2017 Wix.com Ltd. All Rights Reserved. Use of this source code is governed by a MIT license.

/@stylable/e2e-test-kit/

    Package Sidebar

    Install

    npm i @stylable/e2e-test-kit

    Weekly Downloads

    14

    Version

    6.1.0

    License

    MIT

    Unpacked Size

    120 kB

    Total Files

    58

    Last publish

    Collaborators

    • tomrav
    • avi.vahl
    • idoros
    • baraki
    • cijoe
    • alexswix