diff --git a/package.json b/package.json index f10936eb9312b..30b8c0efd8186 100644 --- a/package.json +++ b/package.json @@ -1843,4 +1843,4 @@ "zod-to-json-schema": "^3.23.0" }, "packageManager": "yarn@1.22.21" -} +} \ No newline at end of file diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts index 6198ba8c5d05f..c149f6c1a27c1 100644 --- a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts +++ b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_inventory/service_inventory.cy.ts @@ -91,9 +91,9 @@ describe('Service inventory', () => { it('with the correct environment when changing the environment', () => { cy.wait(mainAliasNames); - cy.getByTestSubj('environmentFilter').type('{selectall}production'); + cy.getByTestSubj('environmentFilter').find('input').focus(); - cy.contains('button', 'production').click(); + cy.contains('button', 'production').should('be.visible').click(); cy.expectAPIsToHaveBeenCalledWith({ apisIntercepted: mainAliasNames, diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts index 4840037cafb83..ae936266e170b 100644 --- a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts +++ b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_overview/service_overview.cy.ts @@ -193,9 +193,8 @@ describe('Service Overview', () => { cy.intercept('GET', 'internal/apm/suggestions?*').as('suggestionsRequest'); - cy.getByTestSubj('environmentFilter') - .find('input') - .type('{selectall}production', { force: true }); + cy.getByTestSubj('environmentFilter').find('input').clear(); + cy.getByTestSubj('environmentFilter').find('input').type('production'); cy.expectAPIsToHaveBeenCalledWith({ apisIntercepted: ['@suggestionsRequest'], diff --git a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts index d5bb161512a9b..4f9b218835246 100644 --- a/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts +++ b/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/settings/agent_configurations.cy.ts @@ -127,15 +127,12 @@ describe('Agent configuration', () => { 'serviceEnvironmentApi' ); cy.contains('Create configuration').click(); - cy.getByTestSubj('serviceNameComboBox').click().type('opbeans-node').type('{enter}'); + cy.getByTestSubj('serviceNameComboBox').find('input').focus().type('opbeans-node{enter}'); cy.contains('opbeans-node').realClick(); cy.wait('@serviceEnvironmentApi'); - cy.getByTestSubj('serviceEnviromentComboBox') - .click({ force: true }) - .type('prod') - .type('{enter}'); + cy.getByTestSubj('serviceEnviromentComboBox').click({ force: true }).type('prod{enter}'); cy.contains('production').realClick(); cy.contains('Next step').click(); cy.contains('Create configuration'); @@ -152,13 +149,10 @@ describe('Agent configuration', () => { 'serviceEnvironmentApi' ); cy.contains('Create configuration').click(); - cy.getByTestSubj('serviceNameComboBox').click().type('All').type('{enter}'); - cy.contains('All').realClick(); + cy.getByTestSubj('serviceNameComboBox').find('input').focus().type('All{enter}'); cy.wait('@serviceEnvironmentApi'); - - cy.getByTestSubj('serviceEnviromentComboBox').click({ force: true }).type('All'); - - cy.get('mark').contains('All').click({ force: true }); + cy.getByTestSubj('serviceEnviromentComboBox').click().type('All'); + cy.get('button').contains('All').click(); cy.contains('Next step').click(); cy.get('[data-test-subj="settingsPage_serviceName"]').contains('All'); cy.get('[data-test-subj="settingsPage_environmentName"]').contains('All');