Skip to content

Commit

Permalink
Fix cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Sep 17, 2020
1 parent 4c21106 commit 421548b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ describe('attach timeline to case', () => {
cy.location('origin').then((origin) => {
cy.get(DESCRIPTION_INPUT).should(
'have.text',
`[${caseTimeline.title}](${origin}/app/security/timelines?timeline=(id:'${caseTimeline.id}',isOpen:!t))`
`[${caseTimeline.title}](${origin}/app/security/timelines?timeline=(id%27'${caseTimeline.id}',isOpen:!t))`
);
});
});
@@ -46,7 +46,7 @@ describe('attach timeline to case', () => {
cy.location('origin').then((origin) => {
cy.get(DESCRIPTION_INPUT).should(
'have.text',
`[${caseTimeline.title}](${origin}/app/security/timelines?timeline=(id:'${caseTimeline.id}',isOpen:!t))`
`[${caseTimeline.title}](${origin}/app/security/timelines?timeline=(id%27'${caseTimeline.id}',isOpen:!t))`
);
});
});
@@ -68,7 +68,7 @@ describe('attach timeline to case', () => {
cy.location('origin').then((origin) => {
cy.get(ADD_COMMENT_INPUT).should(
'have.text',
`[${caseTimeline.title}](${origin}/app/security/timelines?timeline=(id:'${caseTimeline.id}',isOpen:!t))`
`[${caseTimeline.title}](${origin}/app/security/timelines?timeline=(id%27'${caseTimeline.id}',isOpen:!t))`
);
});
});

0 comments on commit 421548b

Please sign in to comment.