File tree Expand file tree Collapse file tree 3 files changed +7
-23
lines changed Expand file tree Collapse file tree 3 files changed +7
-23
lines changed Original file line number Diff line number Diff line change 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} ) ;
Original file line number Diff line number Diff line change 11import { browser , element , by } from 'protractor' ;
22
3- export class ExampleAppPage {
3+ export class AppPage {
44 navigateTo ( ) {
55 return browser . get ( '/' ) ;
66 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments