videojs-automation

0.3.1 • Public • Published

videojs-automation

Build Status

Sauce Test Status

Automation for video.js projects.

Powered by BrowserStack

Getting Started

npm install --save-dev videojs-automation

If using Sauce Labs Add the secured Sauce Labs username and key to .travis.yml. If using BrowserStack add the secured BrowserStack username and key to .travis.yml or to the repository settings

Example Task

videojs_automation: {
  test: ['test/test.js']
}

Example Test

var Player = require('videojs-automation');

describe('Player', function() {
  it('should play', function() {
    var player = new Player('http://www.videojs.com');
    player.bigPlayButton().click();
    expect(player.isPlaying()).toBe(true);
  });
});

Readme

Keywords

none

Package Sidebar

Install

npm i videojs-automation

Weekly Downloads

6

Version

0.3.1

License

none

Last publish

Collaborators

  • forbesjo