feat(e2e-test): hookup the mocha test runner

This commit is contained in:
Ken Sodemann
2017-10-27 12:34:57 -05:00
parent c17c86e696
commit 2d61e1fbd5
6 changed files with 132 additions and 17 deletions

View File

@ -0,0 +1,12 @@
const webdriver = require('selenium-webdriver');
const driver = new webdriver.Builder().forBrowser('chrome').build();
describe('basic button', () => {
after(() => {
return driver.quit();
});
it('navigates', () => {
return driver.navigate().to('http://localhost:3333/src/components/button/test/basic.html');
});
});

View File

@ -1,5 +0,0 @@
describe('buttons', () => {
it('loads', () => {
});
});

View File

@ -0,0 +1,12 @@
const webdriver = require('selenium-webdriver');
const driver = new webdriver.Builder().forBrowser('chrome').build();
describe('toolbar button', () => {
after(() => {
return driver.quit();
});
it('navigates', () => {
return driver.navigate().to('http://localhost:3333/src/components/button/test/toolbar.html');
});
});