Skip to content

Commit 7c1c9d2

Browse files
add click on the button
1 parent 785d08e commit 7c1c9d2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/e2e/pageObjects/rdi-instance-page.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class RdiInstancePage extends BaseOverviewPage {
3434
dedicatedLanguageSelect = Selector('[data-testid=dedicated-editor-language-select]');
3535
languageDropdown = Selector('[class*=_selectLanguage]');
3636
jmesPathOption = Selector('[id=jmespath]');
37+
sqlEditorButton = Selector('[data-testid=open-dedicated-editor-btn]');
3738

3839
successDeployNotification = Selector('[data-testid=success-deploy-pipeline-notification]');
3940
errorDeployNotification = Selector('[data-test-subj=toast-error-deploy]');

tests/e2e/tests/web/critical-path/rdi/add-job.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ test('Verify that user can open an additional editor to work with SQL and JMESPa
147147
await t.expect(await MonacoEditor.getTextFromMonaco()).eql(sqlText, 'Text from SQL editor not applied');
148148

149149
//verify that autocomplete works for JMESPath
150-
await t.pressKey('shift+space');
150+
await t.click(rdiInstancePage.sqlEditorButton);
151151
await t.click(rdiInstancePage.languageDropdown);
152152
await t.click(rdiInstancePage.jmesPathOption);
153153
await MonacoEditor.sendTextToMonaco(rdiInstancePage.draggableArea, JMESPathText);

0 commit comments

Comments
 (0)