test: add test for position page states (#6342)

This commit is contained in:
Vignesh Mohankumar 2023-04-11 17:10:38 -04:00 committed by GitHub
parent 39b5bb37cd
commit 07b7d7f268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,11 @@
describe('Position', () => {
it('shows an valid state on a supported network', () => {
cy.visit('/pools/1')
cy.contains('UNI / ETH')
})
it('shows an invalid state on a supported network', () => {
cy.visit('/pools/788893')
cy.contains('To view a position, you must be connected to the network it belongs to.')
})
})