File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
tests/web/critical-path/rdi Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ export class RdiInstancePage extends BaseOverviewPage {
34
34
dedicatedLanguageSelect = Selector ( '[data-testid=dedicated-editor-language-select]' ) ;
35
35
languageDropdown = Selector ( '[class*=_selectLanguage]' ) ;
36
36
jmesPathOption = Selector ( '[id=jmespath]' ) ;
37
+ sqlEditorButton = Selector ( '[data-testid=open-dedicated-editor-btn]' ) ;
37
38
38
39
successDeployNotification = Selector ( '[data-testid=success-deploy-pipeline-notification]' ) ;
39
40
errorDeployNotification = Selector ( '[data-test-subj=toast-error-deploy]' ) ;
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ test('Verify that user can open an additional editor to work with SQL and JMESPa
147
147
await t . expect ( await MonacoEditor . getTextFromMonaco ( ) ) . eql ( sqlText , 'Text from SQL editor not applied' ) ;
148
148
149
149
//verify that autocomplete works for JMESPath
150
- await t . pressKey ( 'shift+space' ) ;
150
+ await t . click ( rdiInstancePage . sqlEditorButton ) ;
151
151
await t . click ( rdiInstancePage . languageDropdown ) ;
152
152
await t . click ( rdiInstancePage . jmesPathOption ) ;
153
153
await MonacoEditor . sendTextToMonaco ( rdiInstancePage . draggableArea , JMESPathText ) ;
You can’t perform that action at this time.
0 commit comments