diff --git a/x-pack/plugins/observability_solution/inventory/e2e/cypress/support/commands.ts b/x-pack/plugins/observability_solution/inventory/e2e/cypress/support/commands.ts index 39d4c981693ec..6694b50ce9c70 100644 --- a/x-pack/plugins/observability_solution/inventory/e2e/cypress/support/commands.ts +++ b/x-pack/plugins/observability_solution/inventory/e2e/cypress/support/commands.ts @@ -27,7 +27,6 @@ Cypress.Commands.add('loginAsSuperUser', () => { Cypress.Commands.add( 'loginAs', ({ username, password }: { username: string; password: string }) => { - // cy.session(username, () => { const kibanaUrl = Cypress.env('KIBANA_URL'); cy.log(`Logging in as ${username} on ${kibanaUrl}`); cy.visit('/'); @@ -44,7 +43,6 @@ Cypress.Commands.add( headers: { 'kbn-xsrf': 'e2e_test', }, - // }); }); cy.visit('/'); }