Astar Portal App - the application for using everything that Astar Network offers. This project is made with Vue 3 + TypeScript + Quasar.
Ensure that you have Yarn and Node.js 18.x.
# install the dependencies
yarn
# run the local dev page
yarn dev
# build the project
yarn build
For E2E testing, we utilize chopsticks and playwright to mandatorily write test cases that test all of business logic.
npx @acala-network/chopsticks@latest xcm -p=tests/chopsticks/astar.yml -p=tests/chopsticks/acala.yml -r=tests/chopsticks/polkadot.yml
-
Start the portal (the portal should run on http://localhost:8080)
-
You need to familiar with Playwright generator by running codegen
yarn playwright:codegen
- Run the following
yarn playwright
- debug each file individually
yarn playwright tests/dappstaking-transactions.spec.ts
-
Start the portal (the portal should run on http://localhost:8080)
-
Run the following
yarn playwright:ci
- Create test file or added test cases on existing file in /tests
- Simple UI e2e testing : (assets).spec.ts
- Native Transaction e2e teting : (assets)-transactions.spec.ts
- EVM Transaction e2e testing : (assets)-transactions-evm.spec.ts