@@ -14,7 +14,7 @@ import {
14
14
ossStandaloneNoPermissionsConfig
15
15
} from '../../../helpers/conf' ;
16
16
import { rte } from '../../../helpers/constants' ;
17
- import { addNewStandaloneDatabaseApi , deleteStandaloneDatabaseApi } from '../../../helpers/api/api-database' ;
17
+ import { addNewStandaloneDatabaseApi , deleteStandaloneDatabaseApi , deleteStandaloneDatabasesApi } from '../../../helpers/api/api-database' ;
18
18
import { Common } from '../../../helpers/common' ;
19
19
20
20
const myRedisDatabasePage = new MyRedisDatabasePage ( ) ;
@@ -115,25 +115,27 @@ test
115
115
await t . expect ( previousTimestamp ) . notEql ( nextTimestamp , 'Monitor results not correct' ) ;
116
116
}
117
117
} ) ;
118
- test
118
+ // Skipped due to redis issue https://redislabs.atlassian.net/browse/RI-4111
119
+ test . skip
119
120
. before ( async t => {
120
121
await acceptLicenseTermsAndAddDatabaseApi ( ossStandaloneConfig , ossStandaloneConfig . databaseName ) ;
121
122
await cliPage . sendCommandInCli ( 'acl setuser noperm nopass on +@all ~* -monitor' ) ;
122
123
// Check command result in CLI
123
124
await t . click ( cliPage . cliExpandButton ) ;
124
125
await t . expect ( cliPage . cliOutputResponseSuccess . textContent ) . eql ( '"OK"' , 'Command from autocomplete was not found & executed' ) ;
125
126
await t . click ( cliPage . cliCollapseButton ) ;
126
- await deleteStandaloneDatabaseApi ( ossStandaloneConfig ) ;
127
127
await t . click ( myRedisDatabasePage . myRedisDBButton ) ;
128
128
await addNewStandaloneDatabaseApi ( ossStandaloneNoPermissionsConfig ) ;
129
129
await common . reloadPage ( ) ;
130
130
await myRedisDatabasePage . clickOnDBByName ( ossStandaloneNoPermissionsConfig . databaseName ) ;
131
131
} )
132
- . after ( async ( ) => {
132
+ . after ( async t => {
133
133
// Delete created user
134
+ await t . click ( myRedisDatabasePage . myRedisDBButton ) ;
135
+ await myRedisDatabasePage . clickOnDBByName ( ossStandaloneConfig . databaseName ) ;
134
136
await cliPage . sendCommandInCli ( 'acl DELUSER noperm' ) ;
135
137
// Delete database
136
- await deleteStandaloneDatabaseApi ( ossStandaloneNoPermissionsConfig ) ;
138
+ await deleteStandaloneDatabasesApi ( [ ossStandaloneConfig , ossStandaloneNoPermissionsConfig ] ) ;
137
139
} ) ( 'Verify that if user doesn\'t have permissions to run monitor, user can see error message' , async t => {
138
140
// Expand the Profiler
139
141
await t . click ( monitorPage . expandMonitor ) ;
0 commit comments