You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/e2e/tests/critical-path/cli/cli-command-helper.e2e.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ test('Verify Command Helper search and filter', async t => {
73
73
// Verify that when user enters command in CLI, Helper displays additional info about the command
74
74
awaitt.expect(cliPage.cliHelperTitleArgs.textContent).eql('APPEND key value','Command name and syntax not displayed');
75
75
awaitt.expect(cliPage.cliHelperTitle.innerText).contains('STRING','Command Group badge not displayed');
76
-
awaitt.expect(cliPage.cliHelperSummary.innerText).contains('Append a value to a key','Command summary not displayed');
76
+
awaitt.expect(cliPage.cliHelperSummary.innerText).contains(`Appends a string to the value of a key. Creates the key if it doesn't exist.`,'Command summary not displayed');
77
77
});
78
78
test
79
79
.meta({env: env.web})('Verify that user can type TS. in Command helper and see commands from RedisTimeSeries commands.json',asynct=>{
awaitt.expect(awaitworkbenchPage.queryCardNoModuleOutput.textContent).eql('RediSearch module is not loaded for this database','The information message');
28
+
awaitt.expect(awaitworkbenchPage.commandExecutionResult.textContent).eql('Looks like RediSearch is not available','The information message');
.meta({env: env.web,rte: rte.standalone})('Verify that user can see the "Create your free Redis database with RediSearch on Redis Cloud" button and click on it in Workbench when module in not loaded',asynct=>{
Copy file name to clipboardExpand all lines: tests/e2e/tests/smoke/cli/cli-command-helper.e2e.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ test('Verify that user can click on any of searched commands in Command Helper a
58
58
// Verify details of the command
59
59
awaitt.expect(cliPage.cliHelperTitleArgs.textContent).eql('APPEND key value','Command name and syntax not correct');
60
60
awaitt.expect(cliPage.cliHelperTitle.innerText).contains('STRING','Command Group badge not correct');
61
-
awaitt.expect(cliPage.cliHelperSummary.innerText).contains('Append a value to a key Read more','Command summary not correct');
61
+
awaitt.expect(cliPage.cliHelperSummary.innerText).contains(`Appends a string to the value of a key. Creates the key if it doesn't exist.`,'Command summary not correct');
62
62
});
63
63
test('Verify that when user enters command, he can see Command Name, Complexity, Arguments, Summary, Group, Read more',asynct=>{
64
64
constcommandForSearch='pop';
@@ -73,7 +73,7 @@ test('Verify that when user enters command, he can see Command Name, Complexity,
73
73
awaitt.expect(cliPage.cliHelperTitleArgs.innerText).eql('LPOP key [count]','Command Name not correct');
74
74
awaitt.expect(cliPage.cliHelperComplexity.innerText).eql('Complexity:\nO(N) where N is the number of elements returned','Complexity not correct');
75
75
awaitt.expect(cliPage.cliHelperArguments.innerText).eql('Arguments:\nRequired\nkey\nOptional\n[count]','Arguments not correct');
76
-
awaitt.expect(cliPage.cliHelperSummary.innerText).contains('Remove and get the first elements in a list','Command Summary not correct');
76
+
awaitt.expect(cliPage.cliHelperSummary.innerText).contains('Returns the first elements in a list after removing it. Deletes the list if the last element was popped.','Command Summary not correct');
77
77
awaitt.expect(cliPage.cliHelperTitle.innerText).contains('LIST','Command Group not correct');
78
78
awaitt.expect(cliPage.readMoreButton.exists).ok('Read more button not displayed');
0 commit comments