mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
feat(e2e-test): hookup the mocha test runner
This commit is contained in:
12
packages/core/src/components/button/test/basic.e2e-spec.js
Normal file
12
packages/core/src/components/button/test/basic.e2e-spec.js
Normal 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');
|
||||
});
|
||||
});
|
||||
@ -1,5 +0,0 @@
|
||||
describe('buttons', () => {
|
||||
it('loads', () => {
|
||||
|
||||
});
|
||||
});
|
||||
12
packages/core/src/components/button/test/toolbar.e2e-spec.js
Normal file
12
packages/core/src/components/button/test/toolbar.e2e-spec.js
Normal 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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user