@@ -40,19 +40,20 @@ test.describe('Personal space pagination', { tag: '@predefined-users' }, () => {
4040 await ui . logInUser ( { usersEnvironment, actorsEnvironment, stepUser : 'Alice' } )
4141
4242 // And "Alice" creates 15 folders in personal space using API
43- for ( let i = 0 ; i < 15 ; i ++ ) {
43+ for ( let i = 1 ; i <= 15 ; i ++ ) {
4444 await api . userHasCreatedFolder ( {
4545 usersEnvironment,
4646 stepUser : 'Alice' ,
4747 folderName : `folder${ i } `
4848 } )
4949 }
5050 // And "Alice" creates 10 files in personal space using API
51- for ( let i = 0 ; i < 15 ; i ++ ) {
51+ for ( let i = 1 ; i <= 10 ; i ++ ) {
5252 await api . userHasCreatedFile ( {
5353 usersEnvironment,
5454 stepUser : 'Alice' ,
55- filename : `file${ i } `
55+ filename : `file${ i } ` ,
56+ content : `This is a test file${ i } `
5657 } )
5758 }
5859 // And "Alice" creates the following files into personal space using API
@@ -91,7 +92,7 @@ test.describe('Personal space pagination', { tag: '@predefined-users' }, () => {
9192 expectedNumberOfResources : 6
9293 } )
9394 // When "Alice" changes the items per page to "500"
94- await ui . changeItemsPerPage ( { actorsEnvironment, stepUser : 'Alice' , itemsPerPage : '20 ' } )
95+ await ui . changeItemsPerPage ( { actorsEnvironment, stepUser : 'Alice' , itemsPerPage : '500 ' } )
9596
9697 // Then "Alice" should not see the pagination in the personal space files view
9798 await ui . expectPageNumberNotToBeVisible ( { actorsEnvironment, stepUser : 'Alice' } )
0 commit comments