Skip to content

WCT plugin that enables support for testing via Browserstack

Notifications You must be signed in to change notification settings

Motonstron/wct-browserstack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browserstack support for web-component-tester.

This plugin is intended to be used with web-component-tester-custom-runner until support for custom runners is added to WCT. It is experimental and a proof of concept, use at your own risk!

Installation

npm install -g web-component-tester-custom-runner
npm install -g wct-browserstack

Usage

Create a wct.conf.js file like the sample below. Then just run wct

Authentication

Browserstack username and access key may be set in config or via environment variables BROWSER_STACK_USERNAME and BROWSER_STACK_ACCESS_KEY.

Sample wct.conf.js

module.exports = {
  plugins: {
    sauce: { disabled: true },
    browserstack: {
      username: 'myusername',
      accessKey: 'myaccesskey',
      browsers: [{
        browser: 'chrome',
        browser_version: 'latest',
        os: 'windows',
        os_version: '10'
      }],
      defaults: {
        project: 'my-project',
        video: false
      }
    }
  }
};

About

WCT plugin that enables support for testing via Browserstack

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%