From 8933908a9e6e19f1ed6ebb65024b012f47429bf5 Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Wed, 17 Jun 2020 09:10:23 -0400 Subject: [PATCH] Fixes failing test --- e2e/src/app.e2e-spec.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/e2e/src/app.e2e-spec.ts b/e2e/src/app.e2e-spec.ts index 950e019..ebb569d 100644 --- a/e2e/src/app.e2e-spec.ts +++ b/e2e/src/app.e2e-spec.ts @@ -7,13 +7,10 @@ describe('workspace-project App', () => { page = new AppPage(); }); - it('should display fake sign-in screen', () => { + it('should display home screen', () => { page.navigateTo(); - expect(page.getText('h1')).toEqual('FAKE UVA NETBADGE SIGN IN (FOR TESTING ONLY)'); - }); - - it('should click sign-in and navigate to home screen', () => { - page.clickAndExpectRoute('#sign_in', '/home'); + expect(page.getText('h1')).toEqual('Workflow Specifications'); + expect(page.getRoute()).toEqual('/home'); expect(page.getElements('app-workflow-spec-list').count()).toBeGreaterThan(0); expect(page.getElements('app-file-list').count()).toBeGreaterThan(0); });