File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
critical-path/url-handling Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -572,6 +572,7 @@ export class BrowserPage extends InstancePage {
572
572
*/
573
573
async deleteKeyByName ( keyName : string ) : Promise < void > {
574
574
await this . searchByKeyName ( keyName ) ;
575
+ await t . hover ( this . keyNameInTheList ) ;
575
576
await t . click ( this . keyNameInTheList ) ;
576
577
await t . click ( this . deleteKeyButton ) ;
577
578
await t . click ( this . confirmDeleteKeyButton ) ;
Original file line number Diff line number Diff line change 44
44
await t . expect ( myRedisDatabasePage . AddRedisDatabase . disabledDatabaseInfo . nth ( 1 ) . getAttribute ( 'title' ) ) . contains ( port , 'Wrong port value' ) ;
45
45
await t . click ( myRedisDatabasePage . AddRedisDatabase . addRedisDatabaseButton ) ;
46
46
// wait for db is added
47
- await t . wait ( 7_000 ) ;
47
+ await t . wait ( 10_000 ) ;
48
48
await t . expect ( workbenchPage . closeEnablementPage . exists ) . ok ( 'Redirection to Workbench tutorial is not correct' ) ;
49
49
} ) ;
50
50
76
76
} ;
77
77
78
78
await t . navigateTo ( generateLink ( connectUrlParams ) ) ;
79
- await t . wait ( 7_000 ) ;
79
+ await t . wait ( 10_000 ) ;
80
80
await t . expect ( workbenchPage . closeEnablementPage . exists ) . ok ( 'Redirection to Workbench tutorial is not correct' ) ;
81
81
82
82
//Verify that the same db is not added
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { rte } from '../../../../helpers/constants';
7
7
import { commonUrl , ossStandaloneConfig } from '../../../../helpers/conf' ;
8
8
import { DatabaseAPIRequests } from '../../../../helpers/api/api-database' ;
9
9
import { Common } from '../../../../helpers/common' ;
10
+ import { t } from 'testcafe' ;
10
11
11
12
const myRedisDatabasePage = new MyRedisDatabasePage ( ) ;
12
13
const browserPage = new BrowserPage ( ) ;
@@ -53,6 +54,8 @@ fixture `Resize columns in Key details`
53
54
// Add new databases using API
54
55
await databaseHelper . acceptLicenseTerms ( ) ;
55
56
await databaseAPIRequests . addNewStandaloneDatabasesApi ( databasesForAdding ) ;
57
+ console . log ( databasesForAdding [ 0 ] . databaseName ) ;
58
+ await t . wait ( 5_000 ) ;
56
59
// Reload Page
57
60
await myRedisDatabasePage . reloadPage ( ) ;
58
61
await myRedisDatabasePage . clickOnDBByName ( databasesForAdding [ 0 ] . databaseName ) ;
You can’t perform that action at this time.
0 commit comments