Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test('Verify that user can select a command from the list with auto-suggestions
//Select command and check result
await t.pressKey('enter');
const script = await workbenchPage.queryInputScriptArea.textContent;
await t.expect(script.replace(/\s/g, ' ')).eql('ACL CAT ', 'Result of sent command exists');
await t.expect(script.replace(/\s/g, ' ')).eql('ACL ', 'Result of sent command exists');
});
test('Verify that when user have selected a command (via “Enter” from the list of auto-suggested commands), user can see the required arguments inserted to the Editor', async t => {
const command = 'LINDEX'
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/tests/regression/workbench/autocomplete.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ fixture `Autocomplete for entered commands`
test('Verify that user can open the "read more" about the command by clicking on the ">" icon or "ctrl+space"', async t => {
const command = 'HSET'
const commandDetails = [
'HSET key field value [field value ...]',
'HSET key field_value [field_value ...]',
'Set the string value of a hash field',
'Arguments:',
'required key',
'multiple field value'
'multiple field_value'
];
//Type command
await t.typeText(workbenchPage.queryInput, command, { replace: true });
Expand Down