File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,16 @@ test('Restore instance', async ({ page: setupPage }) => {
32
32
33
33
// Reject invalid backup location
34
34
await containersPage . locator ( '#borg_restore_host_location' ) . click ( ) ;
35
- await containersPage . locator ( '#borg_restore_host_location' ) . fill ( '/mnt/foobar ' ) ;
35
+ await containersPage . locator ( '#borg_restore_host_location' ) . fill ( '/mnt/test/aio-incorrect-path ' ) ;
36
36
await containersPage . locator ( '#borg_restore_password' ) . click ( ) ;
37
- await containersPage . locator ( '#borg_restore_password' ) . fill ( 'foobar' ) ;
37
+ await containersPage . locator ( '#borg_restore_password' ) . fill ( borgBackupPassword ) ;
38
38
await containersPage . getByRole ( 'button' , { name : 'Submit location and encryption password' } ) . click ( )
39
39
await containersPage . getByRole ( 'button' , { name : 'Test path and encryption' } ) . click ( ) ;
40
40
await expect ( containersPage . getByRole ( 'main' ) ) . toContainText ( 'Last test failed!' , { timeout : 60 * 1000 } ) ;
41
41
42
42
// Reject invalid backup password
43
43
await containersPage . locator ( '#borg_restore_host_location' ) . click ( ) ;
44
- await containersPage . locator ( '#borg_restore_host_location' ) . fill ( '/mnt/backup' ) ;
44
+ await containersPage . locator ( '#borg_restore_host_location' ) . fill ( borgBackupLocation ) ;
45
45
await containersPage . locator ( '#borg_restore_password' ) . click ( ) ;
46
46
await containersPage . locator ( '#borg_restore_password' ) . fill ( 'foobar' ) ;
47
47
await containersPage . getByRole ( 'button' , { name : 'Submit location and encryption password' } ) . click ( )
You can’t perform that action at this time.
0 commit comments