Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
MadameSheema committed Mar 20, 2024
1 parent 82c5f26 commit ab59fce
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@ import { addNotesToTimeline, goToNotesTab } from '../../../tasks/timeline';

import { deleteTimelines } from '../../../tasks/api_calls/common';

const systemIndicesSuperUserName = 'system_indices_superuser';
const serverlessCloudUserName = Cypress.env('ELASTICSEARCH_USERNAME');
const isCloudServerless = Cypress.env('CLOUD_SERVERLESS');

const author = isCloudServerless ? serverlessCloudUserName : systemIndicesSuperuserName;

const author = Cypress.env('ELASTICSEARCH_USERNAME');
const link = 'https://www.elastic.co/';

describe('Timeline notes tab', { tags: ['@ess', '@serverless'] }, () => {
Expand Down

0 comments on commit ab59fce

Please sign in to comment.