Files
linea-monorepo/.github/workflows/bridge-ui-e2e-tests.yml
Victorien Gauch 8f75f73db2 Feat/bridge UI v2 (#776)
* feat: linea bridge ui refresh (#597)

* feat: linea bridge ui refresh

* feat: improve ui components

* chore: restore layout.tsx

* chore: update destination address modal

* chore: update bridge ui by feedback

chore: update bridge ui by feedback

* chore: add skeleton loader

* chore: update header nav

* feat: update new ui

* chore: fix skeleton

* fix: build issue

---------

Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Co-authored-by: VGau <victorien.gauch@consensys.net>

* feat: add dynamic

* fix: update lock file

* fix: change font size and all rem values

* feat: add currency state, amount, prices management

* feat: add fees calculation

* fix: remove react hook form and create a form store

* feat: add bridging feature

* fix: bridging issue

* fix: limit number of decimals for gas fees

* feat: add history

* fix: remove old code + remove dependencies

* fix: clean folders

* fix: manual claiming issue

* fix: remove warnings and optimize rerenders

* fix: adjust ui + fix network switching

* fix: update bridge ui dockerfile and github ci

* fix: update button text, input styling and history styling

* fix: add cctp deposit feature + cctp util functions and hooks

* feature toggle done for getTokenConfig (#780)

* fix: fees calculation issue (#781)

* [Feat] Bridge UI v2 - Transaction List with CCTPV2 transactions (#783)

* much of fetchCCTPBridgeEvents

* add getClaimTx

---------

Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>

* fix: token history issue

* fix: history issue for erc20 + add confirm address modal

* fix: claiming issue

* feat: add usdc banner

* fix: update usdc banner message

* fix: update usdc banner message

* fix: update usdc banner message

* fix: update bridge ui e2e tests ci

* fix: update min storage version

---------

Signed-off-by: Victorien Gauch <85494462+VGau@users.noreply.github.com>
Signed-off-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
Co-authored-by: viphan007 <106945122+viphan007@users.noreply.github.com>
Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
2025-03-18 11:58:12 +01:00

72 lines
2.3 KiB
YAML

name: Run Bridge UI E2E Tests
on:
pull_request:
branches:
- main
paths:
- 'bridge-ui/**'
- '.github/workflows/bridge-ui-e2e-tests.yml'
- '!bridge-ui/**/*.md'
push:
branches:
- main
paths:
- 'bridge-ui/**'
- '.github/workflows/bridge-ui-e2e-tests.yml'
- '!bridge-ui/**/*.md'
jobs:
run-e2e-tests:
if: github.event.pull_request.head.repo.fork == false
runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup nodejs environment
uses: ./.github/actions/setup-nodejs
with:
node-version: 18.17.0
pnpm-install-options: '--frozen-lockfile --prefer-offline'
- name: Install Playwright
run: pnpm dlx playwright@1.45.3 install --with-deps
- name: Build Bridge UI
run: pnpm run -F bridge-ui build;
env:
NEXT_PUBLIC_WALLET_CONNECT_ID: ${{ secrets.PUBLIC_WALLET_CONNECT_ID }}
NEXT_PUBLIC_INFURA_ID: ${{ secrets.PUBLIC_BRIDGE_UI_INFURA_ID }}
NEXT_PUBLIC_DYNAMIC_ENVIRONMENT_ID: ${{ secrets.PUBLIC_DYNAMIC_ENVIRONMENT_ID }}
- name: Install linux dependencies
run: |
sudo apt-get install --no-install-recommends -y xvfb
- name: Build synpress cache
run: xvfb-run pnpm run -F bridge-ui build:cache
env:
E2E_TEST_PRIVATE_KEY: ${{ secrets.BRIDGE_UI_E2E_TESTS_PRIVATE_KEY }}
E2E_TEST_SEED_PHRASE: "test test test test test test test test test test test junk"
E2E_TEST_WALLET_PASSWORD: "TestPassword!"
NEXT_PUBLIC_INFURA_ID: ${{ secrets.PUBLIC_BRIDGE_UI_INFURA_ID }}
- name: Run tests
run: xvfb-run pnpm run -F bridge-ui test:e2e:headful
env:
CI: "true"
E2E_TEST_PRIVATE_KEY: ${{ secrets.BRIDGE_UI_E2E_TESTS_PRIVATE_KEY }}
E2E_TEST_SEED_PHRASE: "test test test test test test test test test test test junk"
E2E_TEST_WALLET_PASSWORD: "TestPassword!"
NEXT_PUBLIC_INFURA_ID: ${{ secrets.PUBLIC_BRIDGE_UI_INFURA_ID }}
- name: Archive Playwright report
uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-report-headful
path: |
bridge-ui/playwright-report-headful/
if-no-files-found: error