Skip to content

This repository contains several examples testing web components using WebdriverIO

License

Notifications You must be signed in to change notification settings

webdriverio/component-testing-examples

Repository files navigation

WebdriverIO Component Testing Examples Test

This repository contains several examples for testing web components using WebdriverIO. They are using different frameworks and set-ups and we will continue to add more examples as we improve support for more environments. All examples use WebdriverIO v8 and the @wdio/browser-runner to run tests within the browser environment.

Current examples are:

If you are missing an example, feel free to raise an issue.

Usage

You can test component testing with WebdriverIO using the given examples:

  1. Switch to the desired example directory

    cd ./<example-directory>
  2. Install dependencies:

    npm install
  3. Run WebdriverIO tests:

    npm run wdio

Documentation

For more information on browser and component testing using WebdriverIO, check out the project docs.

Contributing

Contributions to adding more examples or extending existing examples are very welcome. For questions about this topic, feel free to join us on Discord Support channel or raise an issue.