Skip to content

The official Astar Network portal for accessing your tokens and other native features!

License

Notifications You must be signed in to change notification settings

gluneau/astar-apps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astar-cover

License
Twitter URL Twitter URL YouTube Discord Telegram Medium

Astar Portal

Astar Portal App - the application for using everything that Astar Network offers. This project is made with Vue 3 + TypeScript + Quasar.

Usage

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

E2E Testing

For E2E testing, we utilize chopsticks and playwright to mandatorily write test cases that test all of business logic.

Setup chopsticks

npx @acala-network/chopsticks@latest xcm -p=tests/chopsticks/astar.yml -p=tests/chopsticks/acala.yml -r=tests/chopsticks/polkadot.yml

Running tests locally in debug mode

  • 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

Running test in CI mode

yarn playwright:ci

Write test cases

  • 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

About

The official Astar Network portal for accessing your tokens and other native features!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 57.5%
  • TypeScript 16.1%
  • Vue 12.8%
  • JavaScript 10.2%
  • SCSS 3.0%
  • HTML 0.4%