Skip to content

Commit

Permalink
[SIEM] Fixes 'sets and reads the url state for timeline by id' Cypres…
Browse files Browse the repository at this point in the history
…s test (#69882)

* fixes 'sets and reads the url state for timeline by id' test

* fixes merge issue

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
MadameSheema and elasticmachine authored Jun 29, 2020
1 parent df44a3e commit 04991d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ describe('url state', () => {
cy.get(KQL_INPUT).should('have.attr', 'value', 'source.ip: "10.142.0.9"');
});

it.skip('sets and reads the url state for timeline by id', () => {
it('sets and reads the url state for timeline by id', () => {
loginAndWaitForPage(HOSTS_URL);
openTimeline();
executeTimelineKQL('host.name: *');
Expand All @@ -258,7 +258,7 @@ describe('url state', () => {
expect(matched).to.have.lengthOf(1);
closeTimeline();
cy.visit('/app/home');
cy.visit(`/app/security/timelines?timeline=(id:'${newTimelineId}',isOpen:!t)`);
cy.visit(`/app/security/timelines?timeline=(id:%27${newTimelineId}%27,isOpen:!t)`);
cy.contains('a', 'Security');
cy.get(DATE_PICKER_APPLY_BUTTON_TIMELINE).invoke('text').should('not.equal', 'Updating');
cy.get(TIMELINE_TITLE).should('be.visible');
Expand Down

0 comments on commit 04991d4

Please sign in to comment.