diff --git a/test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js b/test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js index a09b164a7..da9a53109 100644 --- a/test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js +++ b/test/cypress/e2e/multi-datasources/multi_datasources_enabled.spec.js @@ -178,17 +178,10 @@ describe('Multi-datasources enabled', () => { }); it('Checks Audit Logs Tab', () => { - // Select remote cluster - cy.visit( - `http://localhost:5601/app/security-dashboards-plugin${externalDataSourceUrl}#/auditLogging` - ); - cy.get('[data-test-subj="dataSourceSelectableContextMenuHeaderLink"]').should( - 'contain', - '9202' + cy.visit( + `http://localhost:5601/app/security-dashboards-plugin${externalDataSourceUrl}#/auditLogging/edit/generalSettings` ); - - cy.get('[data-test-subj="general-settings-configure"]').click(); cy.get('[data-test-subj="dataSourceViewButton"]').should('contain', '9202'); cy.get('[data-test-subj="comboBoxInput"]').last().type('blah');