Skip to content

Commit

Permalink
update creation.cy.ts test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelolo24 committed Dec 13, 2023
1 parent ccf80d9 commit 0f52f3f
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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', () => {
Expand Down

0 comments on commit 0f52f3f

Please sign in to comment.