Skip to content

Commit

Permalink
Update failed tests (#2284)
Browse files Browse the repository at this point in the history
  • Loading branch information
ltthienn authored and namgold committed Oct 11, 2023
1 parent 1b72f76 commit 71a6479
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cypress/e2e/specs/intercept.e2e.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ describe('Intercept', { tags: TAG.regression }, () => {
it('Should get pool, farm list successfully', () => {
cy.intercept('GET', '**/farm-pools?**').as('get-farm-list')
cy.intercept('GET', '**/pools?**').as('get-pool-list')
cy.intercept('GET', '**/block?**').as('get-block')
SwapPage.goToPoolPage()
cy.wait('@get-farm-list', { timeout: 5000 }).its('response.statusCode').should('equal', 200)
cy.wait('@get-pool-list', { timeout: 5000 }).its('response.statusCode').should('equal', 200)
cy.wait('@get-block', { timeout: 60000 }).its('response.statusCode').should('equal', 200)
})

it('Should be displayed APR and TVL values', () => {
Expand Down Expand Up @@ -56,7 +54,6 @@ describe('Intercept', { tags: TAG.regression }, () => {
it('Should get pool, farm list successfully', () => {
cy.intercept('GET', '**/farm-pools?**').as('get-farm-list')
cy.intercept('GET', '**/pools?**').as('get-pool-list')
cy.intercept('GET', '**/block?**').as('get-block')
SwapPage.goToFarmPage()
cy.get('[data-testid=farm-block]')
.should(_ => {})
Expand All @@ -65,7 +62,6 @@ describe('Intercept', { tags: TAG.regression }, () => {
cy.wait('@get-pool-list', { timeout: 5000 }).its('response.statusCode').should('equal', 200)
}
cy.wait('@get-farm-list', { timeout: 5000 }).its('response.statusCode').should('equal', 200)
cy.wait('@get-block', { timeout: 60000 }).its('response.statusCode').should('equal', 200)
})
})
})
Expand Down

0 comments on commit 71a6479

Please sign in to comment.