Skip to content

Commit 4b12763

Browse files
change error message
1 parent a270127 commit 4b12763

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,11 @@ test
127127
})
128128
('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';
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-
const actualCommandResult = await workbenchPage.queryCardContainer.nth(0).find(workbenchPage.cssQueryCardCommandResult).textContent;
135-
await t.expect(actualCommandResult).contains(result);
134+
await t.expect(workbenchPage.commandExecutionResultFailed.textContent).contains(result, 'The select command unsupported message');
136135
});
137136
test
138137
.meta({ rte: rte.standalone })

0 commit comments

Comments
 (0)