0.3.1 • Published 9 years ago

videojs-automation v0.3.1

Weekly downloads
26
License
-
Repository
github
Last release
9 years ago

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);
  });
});