Created
February 13, 2017 23:14
-
-
Save laughinghan/da5c1b494f66027950037c3bae817436 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install webdriverio wdio-screenshot wdio-mocha-framework | |
./node_modules/.bin/wdio wdio.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
suite('suite', function() { | |
test('test', function() { | |
browser.url('https://many-worlds.gomix.me/mathquill/mathquill/branch/ci.cleanup/test/visual.html') | |
.saveDocumentScreenshot('edge_screenshot.png'); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.config = { | |
user: 'mathquill', | |
key: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', | |
specs: [ 'test.js' ], | |
capabilities: [{ browserName: 'MicrosoftEdge', platform: 'Windows 10' }], | |
plugins: { 'wdio-screenshot': {} }, | |
framework: 'mocha', | |
mochaOpts: { ui: 'tdd' } | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment