diff --git a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timelines/creation.cy.ts b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timelines/creation.cy.ts index 9857e24e5b33..b3c1361c517a 100644 --- a/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timelines/creation.cy.ts +++ b/x-pack/test/security_solution_cypress/cypress/e2e/investigations/timelines/creation.cy.ts @@ -137,10 +137,7 @@ describe('Timelines', { tags: ['@ess', '@serverless'] }, (): void => { addNameToTimelineAndSave('Test'); // Saved - cy.get(TIMELINE_STATUS).should('be.visible'); - cy.get(TIMELINE_STATUS) - .invoke('text') - .should('match', /^Saved/); + cy.get(TIMELINE_STATUS).should('not.exist'); // Offsetting the extra save that is happening in the background // for the saved search object. @@ -153,7 +150,7 @@ describe('Timelines', { tags: ['@ess', '@serverless'] }, (): void => { cy.get(TIMELINE_STATUS).should('be.visible'); cy.get(TIMELINE_STATUS) .invoke('text') - .should('match', /^Has unsaved changes/); + .should('match', /^Unsaved changes/); }); it('should save timelines as new', () => {