A Jupyter Notebook environment for E2E graphical testing.
- Python 3
- Node (version?)
- Execute
yarn install
- Execute
yarn jupyter:install
- Execute
yarn jupyter
- Open
http://localhost:8888/
if not automatically redirected - Select
Node.js
as kernel to run all00-setup.ipynb
- Open another notebook and select:
Navigation bar > Kernel > Change kernel... > 00-setup.ipynb
- Re-run
00-setup.ipynb
to restart the environment - Execute
yarn jupyter:kill
to terminate the Jupyter environment
fetch(abi, address)
: gets contract at addressdeploy(abi, parameters)
: deploys contractaddViewTrace(contract, viewName, viewArgument, traceName)
: registers a view result to be recordedaddEventTrace(contract, eventName, timestampIndexArgument)
: registers an event log to be recorded- TODO:
addScriptTrace()
sleep(time)
: advances timesleepAndRecord(timeToSleep, recordEvery)
: advances time and records tracessleepAndExecute(timeToSleep, recordEvery, [{run, every}])
: advances time and records traces while executing a function