diff --git a/tests/e2e/tests/critical-path/cli/cli-critical.e2e.ts b/tests/e2e/tests/critical-path/cli/cli-critical.e2e.ts index 86efecaff8..de328ffd52 100644 --- a/tests/e2e/tests/critical-path/cli/cli-critical.e2e.ts +++ b/tests/e2e/tests/critical-path/cli/cli-critical.e2e.ts @@ -96,9 +96,9 @@ test .meta({ rte: rte.standalone }) ('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 => { const commandHints =[ - '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]', - 'index [DD]', - 'key [INDENT indent] [NEWLINE newline] [SPACE space] [paths [paths ...]]', + 'index [data_type] [prefix] [default_lang] [lang_attribute] [default_score] [score_attribute] [payload_attribute] [maxtextfields] [seconds] [nooffsets] [nohl] [nofields] [nofreqs] [stopwords] schema field [field ...]', + 'index [delete docs]', + 'key [indent] [newline] [space] [paths [paths ...]]', 'key [path]' ]; const commands = [ diff --git a/tests/e2e/tests/regression/cli/cli-command-helper.e2e.ts b/tests/e2e/tests/regression/cli/cli-command-helper.e2e.ts index 463e7d4b46..c1bea61a99 100644 --- a/tests/e2e/tests/regression/cli/cli-command-helper.e2e.ts +++ b/tests/e2e/tests/regression/cli/cli-command-helper.e2e.ts @@ -89,7 +89,7 @@ test .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 => { filteringGroup = 'JSON'; commandToCheck = 'JSON.SET'; - commandArgumentsToCheck = 'JSON.SET key path value [NX|XX]'; + commandArgumentsToCheck = 'JSON.SET key path value [condition]'; externalPageLink = 'https://redis.io/commands/json.set/'; //Open Command Helper await t.click(cliPage.expandCommandHelperButton);