kubernetes/www/master/protractor/chrome/smoke.spec.js
Patrick Reilly 716d98c39e initial commit of chrome only of new replacement web ui
remove node modules

make new data file for web ui

initial commit of dashboard

switch back to non SSL request

move port splitting to common place; add to node resource location

Signed-off-by: Patrick Reilly <patrick@kismatic.io>

various path fixes

make svg path relative

work around missing mime type

Signed-off-by: Patrick Reilly <patrick@kismatic.io>

fix paths

fix karma path

remove bad protractor test
2015-04-21 07:24:06 -07:00

18 lines
603 B
JavaScript

describe('Kubernetes UI Chome', function() {
it('should have all the expected tabs loaded', function() {
browser.get('http://localhost:8000');
expect(browser.getTitle()).toEqual('Kubernetes UI');
// Navigate to the graph page.
var dashboardTab = element(by.id('tab_001'));
expect(dashboardTab).toBeDefined();
dashboardTab.click();
expect(browser.getLocationAbsUrl()).toBe('/dashboard/');
// var graphTab = element(by.id('tab_002'));
// expect(graphTab).toBeDefined();
// graphTab.click();
// expect(browser.getLocationAbsUrl()).toBe('/graph/');
});
});