File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed
tests/critical-path/memory-efficiency Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ export class BrowserPage extends InstancePage {
488
488
async selectFilterGroupType ( groupName : string ) : Promise < void > {
489
489
await t
490
490
. click ( this . filterByKeyTypeDropDown )
491
- . click ( ( this . filterOptionType ) . withExactText ( groupName ) ) ;
491
+ . click ( this . filterOptionType . withExactText ( groupName ) ) ;
492
492
}
493
493
494
494
/**
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ export class BulkActions {
41
41
* Open Bulk Actions and confirm deletion
42
42
*/
43
43
async startBulkDelete ( ) : Promise < void > {
44
+ // Wait for Bulk actions animation ends
45
+ await t . wait ( 1000 ) ;
44
46
await t
45
47
. click ( this . actionButton )
46
48
. click ( this . bulkApplyButton ) ;
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ export class PubSubPage extends InstancePage {
48
48
*/
49
49
async subsribeToChannelAndPublishMessage ( channel : string , message : string ) : Promise < void > {
50
50
await t . click ( this . subscribeButton ) ;
51
+ // Wait for pubsub loading
52
+ await t . wait ( 1000 ) ;
51
53
await this . publishMessage ( channel , message ) ;
52
54
await t . expect ( ( this . pubSubPageContainer . find ( '[data-testid^=row]' ) . withText ( 'message' ) ) . exists ) . ok ( 'Message is not displayed' ) ;
53
55
}
Original file line number Diff line number Diff line change 157
157
keyName = `recomKey-${ Common . generateWord ( 10 ) } ` ;
158
158
const jsonValue = '{"name":"xyz"}' ;
159
159
await browserPage . addJsonKey ( keyName , jsonValue ) ;
160
+ // Check that new key is displayed in the list
161
+ await browserPage . searchByKeyName ( keyName ) ;
162
+ await t . expect ( await browserPage . isKeyIsDisplayedInTheList ( keyName ) ) . ok ( 'The JSON key is not added' ) ;
160
163
// Go to Analysis Tools page
161
164
await t . click ( myRedisDatabasePage . NavigationPanel . analysisPageButton ) ;
162
165
await t . click ( memoryEfficiencyPage . newReportBtn ) ;
You can’t perform that action at this time.
0 commit comments