File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- import { getGreeting } from '../support/app.po' ;
1
+ import { getHeader } from '../support/app.po' ;
2
2
3
3
describe ( 'app1' , ( ) => {
4
4
beforeEach ( ( ) => cy . visit ( '/' ) ) ;
5
5
6
- it ( 'should display welcome message ' , ( ) => {
6
+ it ( 'should display header ' , ( ) => {
7
7
// Custom command example, see `../support/commands.ts` file
8
8
cy . login ( 'my-email@something.com' , 'myPassword' ) ;
9
9
10
10
// Function helper example, see `../support/app.po.ts` file
11
- getGreeting ( ) . contains ( 'Welcome app1 ' ) ;
11
+ getHeader ( ) . contains ( 'Angular + Tailwind CSS + Nx ' ) ;
12
12
} ) ;
13
13
} ) ;
Original file line number Diff line number Diff line change 1
- export const getGreeting = ( ) => cy . get ( 'h1 ' ) ;
1
+ export const getHeader = ( ) => cy . get ( 'header ' ) ;
Original file line number Diff line number Diff line change 1
- import { getGreeting } from '../support/app.po' ;
1
+ import { getHeader } from '../support/app.po' ;
2
2
3
3
describe ( 'app2' , ( ) => {
4
4
beforeEach ( ( ) => cy . visit ( '/' ) ) ;
5
5
6
- it ( 'should display welcome message ' , ( ) => {
6
+ it ( 'should display header ' , ( ) => {
7
7
// Custom command example, see `../support/commands.ts` file
8
8
cy . login ( 'my-email@something.com' , 'myPassword' ) ;
9
9
10
10
// Function helper example, see `../support/app.po.ts` file
11
- getGreeting ( ) . contains ( 'Welcome app2 ' ) ;
11
+ getHeader ( ) . contains ( 'Angular + Tailwind CSS + Nx ' ) ;
12
12
} ) ;
13
13
} ) ;
Original file line number Diff line number Diff line change 1
- export const getGreeting = ( ) => cy . get ( 'h1 ' ) ;
1
+ export const getHeader = ( ) => cy . get ( 'header ' ) ;
You can’t perform that action at this time.
0 commit comments