Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ltthienn committed Nov 22, 2023
1 parent 746ded9 commit 7ed8c6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/e2e/specs/intercept.e2e.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ const farm = new FarmPage()
describe('Intercept', { tags: TAG.regression }, () => {
before(() => {
SwapPage.open(DEFAULT_URL)
// cy.setCookie('myCookie', 'cookieValue');
})
beforeEach(() => {
cy.clearCookies()
cy.reload()
cy.setCookie('myCookie', 'cookieValue');
})
afterEach(() => {
cy.clearCookie('myCookie')
})
describe('Swap', () => {
it('Should get route successfully', () => {
Expand Down

0 comments on commit 7ed8c6b

Please sign in to comment.