@stylable/e2e-test-kit
v6.1.1
Published
A collection of tools to help test Stylable components and applications from end-to-end
Downloads
779
Keywords
Readme
@stylable/e2e-test-kit
@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.