$ cd /some/where/blockchain-explorer
$ npm run e2e-test-setup-tool:ci
$ cd /some/where/blockchain-explorer
$ npm run e2e-test-setup-img
Bring up the fabric network and start Explorer service on it
$ cd /some/where/blockchain-explorer
$ npm run e2e-gui-test-setup
# cd /some/where/blockchain-explorer
$ npm run e2e-gui-test-setup-env
$ npm run e2e-gui-test-run
Scenario files are intended to locate in /client/test/specs
folder.
Overall project structure is as follows:
client/test/
+-- docker-compose.yaml // Definition for Selenium Hub/Browser container service
+-- e2e-setup.sh // Bring up fabric network and explorer
+-- wdio.conf.js // webdriverIO configuration
+-- specs/ // Test scenarios
+-- dashboard.js // dashboard rendering scenarios
+-- ...
Mainly we'll update client/test/specs/*.js
to cover more scenarios.