Files
linea-monorepo/bridge-ui/package.json
kyzooghost 4f346b558d [Feat] Bridge UI Test Workflow (#814)
* add first test

* create connectMetamaskToDapp fixture

* bump testing framework version

* correctly working connectMetamaskToDapp function

* working metamask e2e test

* ci fix

* fix

* some changes

* working transaction history list test

* try version bump

* try version bump

* work on toggleShowTestNetworksInNativeBridgeForm

* try playwright 1.51.1

* ci file change

* test fixture changes

* try

* try

* try

* try

* test

* Revert "test"

This reverts commit 2592b6835530feb912d537a29eefaba37f74560e.

* try fix

* try fix

* test

* test

* Revert "test"

This reverts commit a21634ca9224b3d025290e215ba61917bec043ff.

* working toggle network e2e test

* working confirm and bridge flow on e2e test

* refactor metamask fixtures

* successful e2e case for bridge eth

* did usdc bridge e2e test

* fix pnpm lock

* refactor

* refactor

* lint and try single text

* try

* test

* test ci change

* test

* test ci change

* run once to get cache

* first unit test for bridge-ui

* redo test

* more test logs

* test

* test

* test

* removed console logs

* address one more edge case

* activate all tests

* try

* more comments

* adjust fixture

* did some unit tests

* add more unit tests

* disable unit tests in ci

* new e2e test

* new comment

* new things

* fix

* comment out blockchain tx tests

* add reporter for playwright

* removed pause

* clean-up

* test

* change get token balance mechanic

* fix import

* fixes

* clean up

* test

* try headless

* redo headful
2025-03-28 22:35:59 +11:00

67 lines
2.1 KiB
JSON

{
"name": "bridge-ui",
"version": "2.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint && pnpm run lint:test",
"lint:test": "npx eslint 'test/**/*.{js,ts}'",
"lint:fix": "pnpm run lint:ts:fix && pnpm run lint:test:ts:fix",
"lint:ts:fix": "next lint --fix",
"lint:test:ts:fix": "npx eslint --fix 'test/**/*.{js,ts}'",
"clean": "rimraf node_modules .next .next-env.d.ts",
"install:playwright": "playwright install --with-deps",
"build:cache": "synpress",
"build:cache:force": "synpress --force",
"build:cache:headless": "synpress --headless",
"test:unit": "HEADLESS=true playwright test src",
"test:e2e:headful": "playwright test test/e2e",
"test:e2e:headless": "HEADLESS=true playwright test test/e2e",
"test:e2e:headless:ui": "HEADLESS=true playwright test test/e2e --ui"
},
"dependencies": {
"@consensys/linea-sdk": "0.3.0",
"@dynamic-labs/ethereum": "4.9.5",
"@dynamic-labs/sdk-react-core": "4.9.5",
"@dynamic-labs/wagmi-connector": "4.9.5",
"@headlessui/react": "2.1.9",
"@lifi/widget": "3.18.1",
"@tanstack/react-query": "5.69.0",
"@wagmi/connectors": "5.7.11",
"@wagmi/core": "2.16.7",
"auto-zustand-selectors-hook": "3.0.1",
"clsx": "2.1.1",
"date-fns": "4.1.0",
"framer-motion": "11.11.4",
"loglevel": "1.9.2",
"next": "14.2.25",
"next-seo": "6.6.0",
"pino-pretty": "13.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-icons": "5.5.0",
"sass": "1.86.0",
"sharp": "0.33.5",
"viem": "2.23.13",
"wagmi": "2.14.15",
"zod": "3.24.2",
"zustand": "4.5.4"
},
"devDependencies": {
"@playwright/test": "1.51.1",
"@svgr/webpack": "8.1.0",
"@synthetixio/synpress": "4.0.10",
"@types/fs-extra": "11.0.4",
"@types/react": "18.3.11",
"@types/react-dom": "18.3.0",
"autoprefixer": "10.4.21",
"dotenv": "16.4.7",
"eslint-config-next": "14.2.15",
"nock": "14.0.1",
"postcss": "8.5.3"
}
}