From 78b0edc526e67ebac93c428dce11c1f16028a544 Mon Sep 17 00:00:00 2001 From: Bartek Date: Tue, 21 Jan 2025 16:07:17 +0100 Subject: [PATCH] e2e --- .../tests/e2e/specs/urlQueryParam.cy.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/arb-token-bridge-ui/tests/e2e/specs/urlQueryParam.cy.ts b/packages/arb-token-bridge-ui/tests/e2e/specs/urlQueryParam.cy.ts index b4804bbea2..b7593af055 100644 --- a/packages/arb-token-bridge-ui/tests/e2e/specs/urlQueryParam.cy.ts +++ b/packages/arb-token-bridge-ui/tests/e2e/specs/urlQueryParam.cy.ts @@ -239,6 +239,17 @@ describe('User enters site with query params on URL', () => { cy.findAmountInput().should('be.empty') } ) + context('should select token using query params', () => { + visitAfterSomeDelay('/', { + qs: { + sourceChain: getL1NetworkName(), + destinationChain: getL2NetworkName(), + token: Cypress.env('ERC20_TOKEN_ADDRESS_PARENT_CHAIN') + } + }) + + cy.findSelectTokenButton(Cypress.env('IARB')) + }) }) })