Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkx committed Oct 18, 2024
1 parent c3e86de commit 18c66d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/arb-token-bridge-ui/tests/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const searchAndSelectToken = ({
tokenAddress: string
}) => {
// Click on the native token dropdown (Select token button)
cy.findSelectTokenButton(Cypress.env('NATIVE_TOKEN_SYMBOL')).click()
cy.findSelectTokenButton(Cypress.env('NATIVE_TOKEN_SYMBOL') ?? 'ETH').click()

// open the Select Token popup
cy.findByPlaceholderText(/Search by token name/i)
Expand Down
2 changes: 1 addition & 1 deletion packages/arb-token-bridge-ui/tests/support/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const getL1NetworkConfig = (): NetworkConfig => {

export const getL2NetworkConfig = (): NetworkConfig => {
const isOrbitTest = Cypress.env('ORBIT_TEST') == '1'
const nativeTokenSymbol = Cypress.env('NATIVE_TOKEN_SYMBOL')
const nativeTokenSymbol = Cypress.env('NATIVE_TOKEN_SYMBOL') ?? 'ETH'
const isCustomFeeToken = nativeTokenSymbol !== 'ETH'

const l3Network = isCustomFeeToken
Expand Down

0 comments on commit 18c66d2

Please sign in to comment.