Skip to content

Commit a0214e4

Browse files
committed
fixes for tests
1 parent ba6a660 commit a0214e4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

electron-builder.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"type": "distribution",
3434
"hardenedRuntime": true,
3535
"darkModeSupport": true,
36-
"bundleVersion": "4",
36+
"bundleVersion": "5",
3737
"icon": "resources/icon.icns",
3838
"artifactName": "${productName}-${os}-${arch}.${ext}",
3939
"entitlements": "resources/entitlements.mac.plist",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ test
9191
test
9292
.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 => {
9393
const commandHints = [
94-
'index [ON HASH | JSON] [PREFIX count prefix [prefix ...]] [FILTER filter] [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] [STOPWORDS count [stopword [stopword ...]]] [SKIPINITIALSCAN] SCHEMA field_name [AS alias] TEXT | TAG | NUMERIC | GEO | VECTOR [WITHSUFFIXTRIE] [SORTABLE [UNF]] [NOINDEX] [field_name [AS alias] TEXT | TAG | NUMERIC | GEO | VECTOR [WITHSUFFIXTRIE] [SORTABLE [UNF]] [NOINDEX] ...]',
95-
'index [DD]',
96-
'key [INDENT indent] [NEWLINE newline] [SPACE space] [path [path ...]]',
94+
'index [data_type] [prefix] [filter] [default_lang] [lang_attribute] [default_score] [score_attribute] [payload_attribute] [maxtextfields] [seconds] [nooffsets] [nohl] [nofields] [nofreqs] [stopwords] [skipinitialscan] schema field [field ...]',
95+
'index [delete docs]',
96+
'key [indent] [newline] [space] [path [path ...]]',
9797
'key [path]'
9898
];
9999
const commands = [

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ test
8282
.meta({ env: env.web })('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 => {
8383
filteringGroup = 'JSON';
8484
commandToCheck = 'JSON.SET';
85-
commandArgumentsToCheck = 'JSON.SET key path value [NX | XX]';
85+
commandArgumentsToCheck = 'JSON.SET key path value [condition]';
8686
externalPageLink = 'https://redis.io/commands/json.set/';
8787

8888
// Open Command Helper
@@ -102,7 +102,7 @@ test
102102
.meta({ env: env.web })('Verify that user can see in Command helper and click on new group "Search", can choose it and see list of commands in the group', async t => {
103103
filteringGroup = 'Search';
104104
commandToCheck = 'FT.EXPLAIN';
105-
commandArgumentsToCheck = 'FT.EXPLAIN index query [DIALECT dialect]';
105+
commandArgumentsToCheck = 'FT.EXPLAIN index query [dialect]';
106106
externalPageLink = 'https://redis.io/commands/ft.explain/';
107107

108108
// Open Command Helper
@@ -216,7 +216,7 @@ test
216216
'BF.MEXISTS key item [item ...]',
217217
'CMS.QUERY key item [item ...]',
218218
'TDIGEST.RESET key',
219-
'TOPK.LIST key [WITHCOUNT]',
219+
'TOPK.LIST key [withcount]',
220220
'CF.ADD key item'
221221
];
222222
externalPageLinks = [

0 commit comments

Comments
 (0)