File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
tests/e2e/tests/regression/workbench Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -127,12 +127,11 @@ test
127
127
} )
128
128
( 'Verify that user can not run "Select" command in Workbench' , async t => {
129
129
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.' ;
131
131
//Run Select command in Workbench
132
132
await workbenchPage . sendCommandInWorkbench ( command ) ;
133
133
//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' ) ;
136
135
} ) ;
137
136
test
138
137
. meta ( { rte : rte . standalone } )
You can’t perform that action at this time.
0 commit comments