Skip to content

Commit 4a521cc

Browse files
Merge pull request #772 from RedisInsight/feature/e2e-test-fixes
e2e-test fixes
2 parents 08d38eb + 4b12763 commit 4a521cc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/e2e/pageObjects/browser-page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class BrowserPage {
7676
streamGroupsContainer = Selector('[data-testid=stream-groups-container]');
7777
breadcrumbsContainer = Selector('[data-testid=breadcrumbs-container]');
7878
virtualTableContainer = Selector('[data-testid=virtual-table-container]');
79-
streamEntriesContainer = Selector('[data-test-id=stream-entries-container]');
79+
streamEntriesContainer = Selector('[data-testid=stream-entries-container]');
8080
//LINKS
8181
internalLinkToWorkbench = Selector('[data-testid=internal-workbench-link]');
8282
//OPTION ELEMENTS

tests/e2e/tests/regression/workbench/scripting-area.e2e.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,13 @@ test
125125
//Delete database
126126
await deleteDatabase(ossStandaloneConfig.databaseName);
127127
})
128-
('Verify that user can not run "Select" command in Workbench', async() => {
128+
('Verify that user can not run "Select" command in Workbench', async t => {
129129
const command = 'select 13';
130-
const result = '"select is not supported by the Workbench. The list of all unsupported commands: blpop, brpop, blmove, brpoplpush, bzpopmin, bzpopmax, xread, xreadgroup, select, monitor, subscribe, psubscribe, sync, psync, script debug, blpop, brpop, blmove, brpoplpush, bzpopmin, bzpopmax, xread, xreadgroup"';
130+
const result = '"select is not supported by the Workbench.';
131131
//Run Select command in Workbench
132132
await workbenchPage.sendCommandInWorkbench(command);
133133
//Check the command result
134-
await workbenchPage.checkWorkbenchCommandResult(command, result);
134+
await t.expect(workbenchPage.commandExecutionResultFailed.textContent).contains(result, 'The select command unsupported message');
135135
});
136136
test
137137
.meta({ rte: rte.standalone })

0 commit comments

Comments
 (0)