@@ -81,7 +81,7 @@ test('Verify that user can see in Command helper and click on new group "JSON",
81
81
filteringGroup = 'JSON' ;
82
82
commandToCheck = 'JSON.SET' ;
83
83
commandArgumentsToCheck = 'JSON.SET key path value [condition]' ;
84
- externalPageLink = 'https://redis.io/commands/json.set/' ;
84
+ externalPageLink = 'https://redis.io/latest/ commands/json.set/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_command_helper ' ;
85
85
86
86
// Open Command Helper
87
87
await t . click ( browserPage . CommandHelper . expandCommandHelperButton ) ;
@@ -99,7 +99,7 @@ test('Verify that user can see in Command helper and click on new group "Search"
99
99
filteringGroup = 'Search' ;
100
100
commandToCheck = 'FT.EXPLAIN' ;
101
101
commandArgumentsToCheck = 'FT.EXPLAIN index query [dialect]' ;
102
- externalPageLink = 'https://redis.io/commands/ft.explain/' ;
102
+ externalPageLink = 'https://redis.io/latest/ commands/ft.explain/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_command_helper ' ;
103
103
104
104
// Open Command Helper
105
105
await t . click ( browserPage . CommandHelper . expandCommandHelperButton ) ;
@@ -117,7 +117,7 @@ test('Verify that user can see HyperLogLog title in Command Helper for this comm
117
117
filteringGroup = 'HyperLogLog' ;
118
118
commandToCheck = 'PFCOUNT' ;
119
119
commandArgumentsToCheck = 'PFCOUNT key [key ...]' ;
120
- externalPageLink = 'https://redis.io/commands/pfcount/' ;
120
+ externalPageLink = 'https://redis.io/docs/latest/ commands/pfcount/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_command_helper ' ;
121
121
122
122
// Open Command Helper
123
123
await t . click ( browserPage . CommandHelper . expandCommandHelperButton ) ;
@@ -145,12 +145,12 @@ test('Verify that user can see all separated groups for AI json file (model, ten
145
145
'AI.SCRIPTEXECUTE key function [KEYS key_count key [key ...]] [INPUTS input_count input [input ...]] [ARGS arg_count arg [arg ...]] [OUTPUTS output_count output [output ...]] [TIMEOUT timeout]' ,
146
146
'AI.TENSORSET key FLOAT|DOUBLE|INT8|INT16|INT32|INT64|UINT8|UINT16|STRING|BOOL shape [shape ...] [BLOB blob] [VALUES value [VALUES value ...]]'
147
147
] ;
148
- externalPageLinks = [
149
- 'https://redis.io/commands/ai.modeldel' ,
150
- 'https://redis.io/commands/ai.scriptstore' ,
151
- 'https://redis.io/commands/ai.scriptexecute' ,
152
- 'https://redis.io/commands/ai.tensorset'
153
- ] ;
148
+ // externalPageLinks = [
149
+ // 'https://redis.io/commands/ai.modeldel',
150
+ // 'https://redis.io/commands/ai.scriptstore',
151
+ // 'https://redis.io/commands/ai.scriptexecute',
152
+ // 'https://redis.io/commands/ai.tensorset'
153
+ // ];
154
154
155
155
// Open Command Helper
156
156
await t . click ( browserPage . CommandHelper . expandCommandHelperButton ) ;
@@ -162,21 +162,22 @@ test('Verify that user can see all separated groups for AI json file (model, ten
162
162
await t . click ( browserPage . CommandHelper . cliHelperOutputTitles . withExactText ( commandsToCheck [ i ] ) ) ;
163
163
// Verify results of opened command
164
164
await t . expect ( browserPage . CommandHelper . cliHelperTitleArgs . textContent ) . eql ( commandsArgumentsToCheck [ i ] , 'Selected command title not correct' ) ;
165
+ // Currently these links are deleted from redis.io
165
166
// Click on Read More link for selected command
166
- await t . click ( browserPage . CommandHelper . readMoreButton ) ;
167
+ // await t.click(browserPage.CommandHelper.readMoreButton);
167
168
// Check new opened window page with the correct URL
168
- await Common . checkURL ( externalPageLinks [ i ] ) ;
169
+ // await Common.checkURL(externalPageLinks[i]);
169
170
// Close the window with external link to switch to the application window
170
- await goBackHistory ( ) ;
171
- await t . click ( browserPage . CommandHelper . expandCommandHelperButton ) ;
171
+ // await goBackHistory();
172
+ // await t.click(browserPage.CommandHelper.expandCommandHelperButton);
172
173
i ++ ;
173
174
}
174
175
} ) ;
175
176
test ( 'Verify that user can work with Gears group in Command Helper (RedisGears module)' , async t => {
176
177
filteringGroup = 'Gears' ;
177
178
commandToCheck = 'RG.GETEXECUTION' ;
178
179
commandArgumentsToCheck = 'RG.GETEXECUTION id [SHARD|CLUSTER]' ;
179
- externalPageLink = 'https://redis.io/commands/rg.getexecution' ;
180
+ // externalPageLink = 'https://redis.io/commands/rg.getexecution';
180
181
181
182
// Open Command Helper
182
183
await t . click ( browserPage . CommandHelper . expandCommandHelperButton ) ;
@@ -187,9 +188,10 @@ test('Verify that user can work with Gears group in Command Helper (RedisGears m
187
188
// Verify results of opened command
188
189
await t . expect ( browserPage . CommandHelper . cliHelperTitleArgs . textContent ) . eql ( commandArgumentsToCheck , 'Selected command title not correct' ) ;
189
190
// Verify that user can use Read More link for Gears group in Command Helper (RedisGears module)
190
- await t . click ( browserPage . CommandHelper . readMoreButton ) ;
191
+ // Currently these links are deleted from redis.io
192
+ // await t.click(browserPage.CommandHelper.readMoreButton);
191
193
// Check new opened window page with the correct URL
192
- await Common . checkURL ( externalPageLink ) ;
194
+ // await Common.checkURL(externalPageLink);
193
195
} ) ;
194
196
test ( 'Verify that user can work with Bloom groups in Command Helper (RedisBloom module)' , async t => {
195
197
filteringGroups = [ 'Bloom Filter' , 'CMS' , 'TDigest' , 'TopK' , 'Cuckoo Filter' ] ;
@@ -208,11 +210,11 @@ test('Verify that user can work with Bloom groups in Command Helper (RedisBloom
208
210
'CF.ADD key item'
209
211
] ;
210
212
externalPageLinks = [
211
- 'https://redis.io/commands/bf.mexists/' ,
212
- 'https://redis.io/commands/cms.query/' ,
213
- 'https://redis.io/commands/tdigest.reset/' ,
214
- 'https://redis.io/commands/topk.list/' ,
215
- 'https://redis.io/commands/cf.add/'
213
+ 'https://redis.io/latest/ commands/bf.mexists/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_command_helper ' ,
214
+ 'https://redis.io/latest/ commands/cms.query/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_command_helper ' ,
215
+ 'https://redis.io/latest/ commands/tdigest.reset/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_command_helper ' ,
216
+ 'https://redis.io/latest/ commands/topk.list/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_command_helper ' ,
217
+ 'https://redis.io/latest/ commands/cf.add/?utm_source=redisinsight&utm_medium=app&utm_campaign=redisinsight_command_helper '
216
218
] ;
217
219
218
220
// Open Command Helper
0 commit comments