@@ -42,12 +42,12 @@ describe('List Page', () => {
42
42
} ) ;
43
43
44
44
it ( 'should filter directly while typing (with some debounce)' , ( ) => {
45
- ListPagePosts . setFilterValue ( 'q' , 'quis culpa impedit ' ) ;
45
+ ListPagePosts . setFilterValue ( 'q' , 'possimus ' ) ;
46
46
cy . get ( ListPagePosts . elements . recordRows ) . should ( el =>
47
- expect ( el ) . to . have . length ( 1 )
47
+ expect ( el ) . to . have . length ( 7 )
48
48
) ;
49
49
cy . contains ( 'Omnis voluptate enim similique est possimus' ) ;
50
- cy . contains ( '1-1 of 1 ' ) ;
50
+ cy . contains ( '1-7 of 7 ' ) ;
51
51
ListPagePosts . setFilterValue ( 'q' , '' , true ) ;
52
52
cy . contains ( '1-10 of 13' ) ;
53
53
} ) ;
@@ -80,8 +80,8 @@ describe('List Page', () => {
80
80
ListPagePosts . logout ( ) ;
81
81
LoginPage . login ( 'admin' , 'password' ) ;
82
82
ListPagePosts . navigate ( ) ;
83
- ListPagePosts . setFilterValue ( 'q' , 'quis culpa impedit ' ) ;
84
- cy . contains ( '1-1 of 1 ' ) ;
83
+ ListPagePosts . setFilterValue ( 'q' , 'possimus ' ) ;
84
+ cy . contains ( '1-7 of 7 ' ) ;
85
85
86
86
// This validates that defaultFilterValues on the user list is
87
87
// not kept for posts after navigation.
@@ -95,9 +95,9 @@ describe('List Page', () => {
95
95
cy . url ( ) . should ( 'contain' , '/posts' ) ;
96
96
97
97
cy . get ( ListPagePosts . elements . filter ( 'q' ) ) . should ( el =>
98
- expect ( el ) . to . have . value ( 'quis culpa impedit ' )
98
+ expect ( el ) . to . have . value ( 'possimus ' )
99
99
) ;
100
- cy . contains ( '1-1 of 1 ' ) ;
100
+ cy . contains ( '1-7 of 7 ' ) ;
101
101
ListPagePosts . setFilterValue ( 'q' , '' ) ;
102
102
} ) ;
103
103
0 commit comments