Skip to content

Commit a43e3e2

Browse files
fix part#3 of tests
1 parent b23a968 commit a43e3e2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/e2e/tests/web/critical-path/workbench/default-scripts-area.e2e.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fixture `Default scripts area at Workbench`
3737
await workbenchPage.sendCommandInWorkbench(`FT.DROPINDEX ${indexName} DD`);
3838
await databaseAPIRequests.deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
3939
});
40-
test
40+
test.only
4141
.requestHooks(logger)('Verify that user can run automatically "FT._LIST" and "FT.INFO {index}" scripts in Workbench and see the results', async t => {
4242
indexName = 'idx:schools';
4343
keyName = chance.word({ length: 5 });
@@ -46,9 +46,9 @@ test
4646
`HMSET product:1 name "${keyName}"`,
4747
`HMSET product:2 name "${keyName}"`
4848
];
49-
const addedScript = `FT._LIST // Return a list of all indices\n' +
50-
'\n' +
51-
'FT.INFO "${indexName}"" // Display information about a particular index`;
49+
const addedScript = 'FT._LIST \n' +
50+
51+
`FT.INFO "${indexName}"`;
5252
// Send commands
5353
await workbenchPage.sendCommandInWorkbench(commandsForSend.join('\n'));
5454
// Run automatically added "FT._LIST" and "FT.INFO {index}" scripts

0 commit comments

Comments
 (0)