Coder Social home page Coder Social logo

easonyule / astar-apps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from astarnetwork/astar-apps

0.0 0.0 0.0 64.87 MB

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

Home Page: https://portal.astar.network/

License: GNU General Public License v3.0

JavaScript 10.39% TypeScript 15.55% CSS 58.28% HTML 0.45% Vue 12.31% SCSS 3.01%

astar-apps's Introduction

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

@acala-network/chopsticks@latest xcm -p=tests/chopsticks/astar.yml -p=tests/chopsticks/shiden.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

astar-apps's People

Contributors

impelcrypto avatar sirius651 avatar bobo-k2 avatar niklabh avatar hoonsubin avatar ehsanhajian avatar gluneau avatar gunit2481 avatar kahonnohak avatar kingsleydon avatar pedroapfilho avatar yashirooooo avatar hqwangningbo avatar guoyizhang avatar loatheb avatar bld75 avatar ahsanahmed321 avatar tzechuen avatar s2kael avatar rares-munteanu-gl avatar radiumb avatar saltict avatar baryon avatar josip-simunovic88 avatar hugh-onf avatar bvotteler avatar ashutoshvarma avatar uandysmith avatar alex-nax avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.