b89ee36448
* test(e2e): improve memory mgmt * test(e2e): record flakes * test(e2e): simplify tests in attempt to de-flake * test(e2e): more simplification * test(e2e): disable transaction popup checks * test(e2e): better wrap assertions * test(e2e): always assert both inputs
15 lines
547 B
TypeScript
15 lines
547 B
TypeScript
import { getTestSelector } from '../../utils'
|
|
|
|
describe('Swap settings', () => {
|
|
it('Opens and closes the settings menu', () => {
|
|
cy.visit('/swap')
|
|
cy.contains('Settings').should('not.exist')
|
|
cy.get(getTestSelector('open-settings-dialog-button')).click()
|
|
cy.contains('Max slippage').should('exist')
|
|
cy.contains('Transaction deadline').should('exist')
|
|
cy.contains('Auto Router API').should('exist')
|
|
cy.get(getTestSelector('open-settings-dialog-button')).click()
|
|
cy.contains('Settings').should('not.exist')
|
|
})
|
|
})
|