Fixes failing test
This commit is contained in:
parent
4f0eff203a
commit
8933908a9e
|
@ -7,13 +7,10 @@ describe('workspace-project App', () => {
|
||||||
page = new AppPage();
|
page = new AppPage();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should display fake sign-in screen', () => {
|
it('should display home screen', () => {
|
||||||
page.navigateTo();
|
page.navigateTo();
|
||||||
expect(page.getText('h1')).toEqual('FAKE UVA NETBADGE SIGN IN (FOR TESTING ONLY)');
|
expect(page.getText('h1')).toEqual('Workflow Specifications');
|
||||||
});
|
expect(page.getRoute()).toEqual('/home');
|
||||||
|
|
||||||
it('should click sign-in and navigate to home screen', () => {
|
|
||||||
page.clickAndExpectRoute('#sign_in', '/home');
|
|
||||||
expect(page.getElements('app-workflow-spec-list').count()).toBeGreaterThan(0);
|
expect(page.getElements('app-workflow-spec-list').count()).toBeGreaterThan(0);
|
||||||
expect(page.getElements('app-file-list').count()).toBeGreaterThan(0);
|
expect(page.getElements('app-file-list').count()).toBeGreaterThan(0);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue