Commit 2dc5a6ef authored by Tina's avatar Tina Committed by GitHub

fix: Remove e2e test (#7369)

* remove now untrue test

* add test about missing stats
parent 7cd72a70
...@@ -55,14 +55,9 @@ describe('Token details', () => { ...@@ -55,14 +55,9 @@ describe('Token details', () => {
if (cy.get('[data-cy="chart-header"]').contains('Price Unavailable')) { if (cy.get('[data-cy="chart-header"]').contains('Price Unavailable')) {
cy.get('[data-cy="missing-chart"]').should('exist') cy.get('[data-cy="missing-chart"]').should('exist')
} }
// Stats should have: TVL, 24H Volume, 52W low, 52W high
cy.get(getTestSelector('token-details-stats')).should('exist') // Stats should not exist
cy.get(getTestSelector('token-details-stats')).within(() => { cy.get(getTestSelector('token-details-stats')).should('not.exist')
cy.get('[data-cy="tvl"]').should('exist')
cy.get('[data-cy="volume-24h"]').should('exist')
cy.get('[data-cy="52w-low"]').should('exist')
cy.get('[data-cy="52w-high"]').should('exist')
})
// About section should have description of token // About section should have description of token
cy.get(getTestSelector('token-details-about-section')).should('exist') cy.get(getTestSelector('token-details-about-section')).should('exist')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment