Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

threefoldtecharchive/tfgrid_dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFGrid Dashboard

GitHub release (latest by date) Build Lint Selenium _Tests Cypress Tests

Introduction

The Dashboard is a unified admin interface for everything related to Threefold Grid such as Portal, Explorer, Calculators, Zero-OS Bootstrap & Playground. For more details, check Dashboard Manual

Getting Started

For detailed information you can read the Getting Started documentation.

  • Run Dashboard in Development mode
yarn serve
  • Run Dashboard in Production mode
yarn build

This will generate the production build in the dist directory, which can be served using Caddy or NGINX

Testing

  • The main testing tools used in Dashboard are

    • Selenium which is responsible for testing the functionality of the portal pages.
    • Cypress which is responsible for testing the functionality of the explorer pages.
  • How to run tests

  • How to write new tests

    Since all necessary files, such as configuration, base and utils files have already been created, creating additional tests is simple. All you need to do is create a new file with the same naming convention as the others and follow the instructions listed below, depending on the tool you plan to use.

Related Documentations