File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
tests/e2e/tests/critical-path/database Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 71
71
. click ( myRedisDatabasePage . submitImportBtn )
72
72
. expect ( myRedisDatabasePage . failedImportMessage . exists ) . ok ( 'Failed to add database message not displayed' ) ;
73
73
74
- // Verify that success message is displayed
74
+ // Verify that user can import database with mandatory fields
75
75
await t . click ( myRedisDatabasePage . closeDialogBtn ) ;
76
76
await databasesActions . importDatabase ( rdmData . path ) ;
77
+ // Verify that success message is displayed
77
78
await t . expect ( myRedisDatabasePage . successImportMessage . textContent ) . contains ( partialImportedMsg , 'Successfully added databases number not correct' ) ;
78
79
79
80
// Verify that list of databases is reloaded when database added
80
81
await t . click ( myRedisDatabasePage . okDialogBtn ) ;
81
82
await databasesActions . verifyDatabasesDisplayed ( rdmData . dbNames ) ;
82
83
83
- // Verify that user can import database with all data
84
+ // Verify that user can import database with mandatory+optional data
84
85
await clickOnEditDatabaseByName ( rdmData . dbNames [ 0 ] ) ;
85
86
// Verify username imported
86
87
await t . expect ( addRedisDatabasePage . usernameInput . value ) . eql ( rdmData . userName ) ;
You can’t perform that action at this time.
0 commit comments