Testing
Run E2E Cypress tests
Follow Docker setup to install Creator Studio in Docker
Create
.env.test.localfile inasylum-ui/packages/creator-studiofolder:asylum-ui/packages/creator-studio/.env.test.localREACT_APP_NODE_ENV = test
REACT_APP_MINTER_MNEMONIC = eternal danger cherry radar exit damage slam hip say relief awesome middleinfoREACT_APP_NODE_ENV = testwill spin up the web app intestmode. The step with connecting to Polkadot{.js} extension will be skipped, as it's not possible to install and properly test this extension within Cypress test environment.The seed phrase
REACT_APP_MINTER_MNEMONICwill be automatically set toconnection-library, when user clicksconnect wallet.Navigate to root
asylum-uifolderyarn docker:test:upcautionyarn docker:test:upcommand will start container with different ui image configs. You have to delete previous container, which you spun up withyarn docker:upyarn cypress:openSelect E2E Testing -> Chrome -> Start E2E testing in Chrome
Select spec you want to run