Skip to content

Commit

Permalink
update changed test id
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpn committed Nov 14, 2024
1 parent 5c09dbb commit 01e3367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const fillUpNewEsqlRule = (name = 'Test', description = 'Test', query: st
cy.getByTestSubj('create-new-rule').click();
cy.getByTestSubj('stepDefineRule').within(() => {
cy.getByTestSubj('esqlRuleType').click();
cy.getByTestSubj('detectionEngineStepDefineRuleEsqlQueryBar').within(() => {
cy.getByTestSubj('ruleEsqlQueryBar').within(() => {
cy.getByTestSubj('globalQueryBar').click();
cy.getByTestSubj('kibanaCodeEditor').type(query);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,9 @@ export const NEW_TERMS_TYPE = '[data-test-subj="newTermsRuleType"]';

export const ESQL_TYPE = '[data-test-subj="esqlRuleType"]';

export const ESQL_QUERY_BAR_INPUT_AREA =
'[data-test-subj="detectionEngineStepDefineRuleEsqlQueryBar"] textarea';
export const ESQL_QUERY_BAR_INPUT_AREA = '[data-test-subj="ruleEsqlQueryBar"] textarea';

export const ESQL_QUERY_BAR = '[data-test-subj="detectionEngineStepDefineRuleEsqlQueryBar"]';
export const ESQL_QUERY_BAR = '[data-test-subj="ruleEsqlQueryBar"]';

export const NEW_TERMS_INPUT_AREA = '[data-test-subj="newTermsInput"]';

Expand Down

0 comments on commit 01e3367

Please sign in to comment.