GREENBOARD

An E2E test suite for Counterfactual

Architecture

yarn test:e2e

E2E Spec File

E2E Spec File

E2E Spec File

Jest Runner

Wallet UI Process

Hub Process

testSequencer.ts

Selenium Process

Metamask Extension

Start the browser and configure MetaMask

Add some state to the Node via LocalStorage

Automate MetaMask interactions

Evaluate if the scenario worked

Wrap-up and close

Greenboard: An E2E test suite for Counterfactual

By Joel Alejandro Villarreal Bertoldi

Greenboard: An E2E test suite for Counterfactual

These slides explain the architecture and test pattern for building scenarios on the Greenboard.

  • 473