vega-frontend-monorepo/apps/explorer-e2e
Edd 53d3d5ac1c
feat(explorer): improve empty states and loading indicators (#2496)
* feat(explorer): initial empty list component on block txs list

* feat(explorer): messages formatting

* chore(explorer): update generated types

* feat(explorer): empty state for markets and assets and governance and blocks and txs

* feat(explorer): use loader rather than the word loading

* feat(explorer): use loader rather than the word loading in more places

* feat(explorer): empty state appears below headers in more pages

* feat(explorer): txs per block update

* feat(explorer): update tests to match new messages

* test(explorer): add test for loading and empty states for assets

* test(explorer): add test for loading and empty states for more routes

* test(explorer): change loading detector
2023-01-05 13:10:42 +00:00
..
src feat(explorer): improve empty states and loading indicators (#2496) 2023-01-05 13:10:42 +00:00
.env chore(test fixes): use api token in test (#2316) 2022-12-05 16:51:53 +00:00
.env.devnet fix(explorer): fix resizing callout (#2492) 2022-12-30 11:40:47 +00:00
.env.mainnet fix(explorer): fix resizing callout (#2492) 2022-12-30 11:40:47 +00:00
.env.stagnet3 fix(explorer): fix resizing callout (#2492) 2022-12-30 11:40:47 +00:00
.env.testnet fix(explorer): fix resizing callout (#2492) 2022-12-30 11:40:47 +00:00
.eslintrc.json migrate stuff into new NX 2022-02-23 08:53:57 +00:00
cypress.config.js chore(cypress-11): upgrade to cypress 11.2 (#2251) 2022-11-30 12:32:01 +00:00
project.json feat(#927) design update (#1201) 2022-08-30 21:35:46 -07:00
README.md chore: add readmes for token and explorer e2e (#2485) 2022-12-29 20:48:04 -08:00
tsconfig.json chore(cypress-11): upgrade to cypress 11.2 (#2251) 2022-11-30 12:32:01 +00:00

Vega Explorer E2E tests

To run the UI automation tests with Vega Capsule, run:

yarn nx run explorer-e2e:e2e

To open Cypress and run in interactive mode, run:

yarn nx run explorer-e2e:e2e --watch

Vega Capsule Setup

The e2e tests run against a locally running instance of the Vega network, managed and controlled by Vega Capsule. Vega Capsule will:

  • Bootstrap and start up a Vega network
  • Start up Ganache for a local Ethereum network
  • Install the required Vega smart contracts
  • Set up DataNodes with a running GraphQL and REST APIs.

Refer to the Vega Capsule readme for setting up and running Capsule. You will need Go 1.19 or later and Docker installed.

Troubleshooting

  • You may need to run vegacapsule nodes unsafe-reset-all to get a clean network state

Vega Wallet Setup

Start by downloading the Vega wallet software here.

You can then refer to (or run) vegacapsule/setup-vegawallet.sh. This will initialise and configure your wallet to have the correct public keys and network config to run against capsule.