@@ -2,7 +2,7 @@ import { Chance } from 'chance';
2
2
import { env , rte } from '../../../helpers/constants' ;
3
3
import { acceptLicenseTermsAndAddDatabaseApi } from '../../../helpers/database' ;
4
4
import { MyRedisDatabasePage , WorkbenchPage } from '../../../pageObjects' ;
5
- import { commonUrl , ossStandaloneRedisearch } from '../../../helpers/conf' ;
5
+ import { commonUrl , ossStandaloneConfig } from '../../../helpers/conf' ;
6
6
import { deleteStandaloneDatabaseApi } from '../../../helpers/api/api-database' ;
7
7
8
8
const myRedisDatabasePage = new MyRedisDatabasePage ( ) ;
@@ -17,15 +17,15 @@ fixture `Command results at Workbench`
17
17
. meta ( { type : 'critical_path' , rte : rte . standalone } )
18
18
. page ( commonUrl )
19
19
. beforeEach ( async t => {
20
- await acceptLicenseTermsAndAddDatabaseApi ( ossStandaloneRedisearch , ossStandaloneRedisearch . databaseName ) ;
20
+ await acceptLicenseTermsAndAddDatabaseApi ( ossStandaloneConfig , ossStandaloneConfig . databaseName ) ;
21
21
//Go to Workbench page
22
22
await t . click ( myRedisDatabasePage . workbenchButton ) ;
23
23
} )
24
24
. afterEach ( async t => {
25
25
//Drop index, documents and database
26
26
await t . switchToMainWindow ( ) ;
27
27
await workbenchPage . sendCommandInWorkbench ( `FT.DROPINDEX ${ indexName } DD` ) ;
28
- await deleteStandaloneDatabaseApi ( ossStandaloneRedisearch ) ;
28
+ await deleteStandaloneDatabaseApi ( ossStandaloneConfig ) ;
29
29
} ) ;
30
30
test ( 'Verify that user can see re-run icon near the already executed command and re-execute the command by clicking on the icon in Workbench page' , async t => {
31
31
//Send commands
@@ -107,7 +107,7 @@ test.skip
107
107
test
108
108
. after ( async ( ) => {
109
109
//Drop database
110
- await deleteStandaloneDatabaseApi ( ossStandaloneRedisearch ) ;
110
+ await deleteStandaloneDatabaseApi ( ossStandaloneConfig ) ;
111
111
} ) ( 'Verify that user can populate commands in Editor from history by clicking keyboard “up” button' , async t => {
112
112
const commands = [
113
113
'FT.INFO' ,
0 commit comments