Skip to content

Commit 7d906b8

Browse files
author
Seth Davenport
committed
update e2e tests too
1 parent d88978a commit 7d906b8

File tree

3 files changed

+7
-23
lines changed

3 files changed

+7
-23
lines changed

e2e/app.e2e-spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import { ExampleAppPage } from './app.po';
1+
import { AppPage } from './app.po';
22

3-
describe('example-app App', () => {
4-
let page: ExampleAppPage;
3+
describe('Zoo Animals App', () => {
4+
let page: AppPage;
55

66
beforeEach(() => {
7-
page = new ExampleAppPage();
7+
page = new AppPage();
88
});
99

10-
it('should display message saying app works', () => {
10+
it('should display message saying "Welcome to the Zoo"', () => {
1111
page.navigateTo();
12-
expect(page.getParagraphText()).toEqual('app works!');
12+
expect(page.getParagraphText()).toEqual('Welcome to the Zoo');
1313
});
1414
});

e2e/app.po.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { browser, element, by } from 'protractor';
22

3-
export class ExampleAppPage {
3+
export class AppPage {
44
navigateTo() {
55
return browser.get('/');
66
}

e2e/tsconfig.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)