Skip to content

Commit 655efa4

Browse files
fix cli commands tests
1 parent 7e39051 commit 655efa4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/e2e/tests/critical-path/cli/cli-critical.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ test
9696
.meta({ rte: rte.standalone })
9797
('Verify that when user enters in CLI RediSearch/JSON commands (FT.CREATE, FT.DROPINDEX/JSON.GET, JSON.DEL), he can see hints with arguments', async t => {
9898
const commandHints =[
99-
'index [ON HASH|JSON] [PREFIX count prefix [prefix ...]] [LANGUAGE default_lang] [LANGUAGE_FIELD lang_attribute] [SCORE default_score] [SCORE_FIELD score_attribute] [PAYLOAD_FIELD payload_attribute] [MAXTEXTFIELDS] [TEMPORARY seconds] [NOOFFSETS] [NOHL] [NOFIELDS] [NOFREQS] [count stopword [stopword ...]] SCHEMA field_name [AS alias] TEXT|TAG|NUMERIC|GEO [SORTABLE [UNF]] [NOINDEX]',
100-
'index [DD]',
101-
'key [INDENT indent] [NEWLINE newline] [SPACE space] [paths [paths ...]]',
99+
'index [data_type] [prefix] [default_lang] [lang_attribute] [default_score] [score_attribute] [payload_attribute] [maxtextfields] [seconds] [nooffsets] [nohl] [nofields] [nofreqs] [stopwords] schema field [field ...]',
100+
'index [delete docs]',
101+
'key [indent] [newline] [space] [paths [paths ...]]',
102102
'key [path]'
103103
];
104104
const commands = [

tests/e2e/tests/regression/cli/cli-command-helper.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ test
8989
.meta({ env: env.web, rte: rte.standalone })('Verify that user can see in Command helper and click on new group "JSON", can choose it and see list of commands in the group', async t => {
9090
filteringGroup = 'JSON';
9191
commandToCheck = 'JSON.SET';
92-
commandArgumentsToCheck = 'JSON.SET key path value [NX|XX]';
92+
commandArgumentsToCheck = 'JSON.SET key path value [condition]';
9393
externalPageLink = 'https://redis.io/commands/json.set/';
9494
//Open Command Helper
9595
await t.click(cliPage.expandCommandHelperButton);

0 commit comments

Comments
 (0)