test: add test for position page states (#6342)
This commit is contained in:
parent
39b5bb37cd
commit
07b7d7f268
11
cypress/e2e/position.test.ts
Normal file
11
cypress/e2e/position.test.ts
Normal file
@ -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.')
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue
Block a user