Skip to content

Commit 19ea649

Browse files
committed
fix for test
1 parent ef23e39 commit 19ea649

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/e2e/tests/critical-path/workbench/command-results.e2e.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Chance } from 'chance';
22
import { env, rte } from '../../../helpers/constants';
33
import { acceptLicenseTermsAndAddDatabaseApi } from '../../../helpers/database';
44
import { MyRedisDatabasePage, WorkbenchPage } from '../../../pageObjects';
5-
import { commonUrl, ossStandaloneRedisearch } from '../../../helpers/conf';
5+
import { commonUrl, ossStandaloneConfig } from '../../../helpers/conf';
66
import { deleteStandaloneDatabaseApi } from '../../../helpers/api/api-database';
77

88
const myRedisDatabasePage = new MyRedisDatabasePage();
@@ -17,15 +17,15 @@ fixture `Command results at Workbench`
1717
.meta({ type: 'critical_path', rte: rte.standalone })
1818
.page(commonUrl)
1919
.beforeEach(async t => {
20-
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneRedisearch, ossStandaloneRedisearch.databaseName);
20+
await acceptLicenseTermsAndAddDatabaseApi(ossStandaloneConfig, ossStandaloneConfig.databaseName);
2121
//Go to Workbench page
2222
await t.click(myRedisDatabasePage.workbenchButton);
2323
})
2424
.afterEach(async t => {
2525
//Drop index, documents and database
2626
await t.switchToMainWindow();
2727
await workbenchPage.sendCommandInWorkbench(`FT.DROPINDEX ${indexName} DD`);
28-
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
28+
await deleteStandaloneDatabaseApi(ossStandaloneConfig);
2929
});
3030
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 => {
3131
//Send commands
@@ -107,7 +107,7 @@ test.skip
107107
test
108108
.after(async() => {
109109
//Drop database
110-
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
110+
await deleteStandaloneDatabaseApi(ossStandaloneConfig);
111111
})('Verify that user can populate commands in Editor from history by clicking keyboard “up” button', async t => {
112112
const commands = [
113113
'FT.INFO',

0 commit comments

Comments
 (0)