You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use yarn to build and manage Qrimatic. The frontend app needs an API to talk to. You can use the live staging API or set up a local proxy and run the app with the environment variable REACT_APP_API_BASE_URL defined
After you have cloned this repository, install dependencies:
yarn
Run the development server:
yarn start
run the e2e tests
run locally
To run the e2e tests locally, you must be able to run and instance of qri & an instance of the frontend app
launch the frontend app (yarn start)
in your local qri config, add "http:localhost:3000" to your API.allowedOrigins
in another terminal, launch the qri app (qri connect)
set your credentials as environment variables:
TEST_E2E_USERNAME is your local qri node's username
TEST_E2E_PASSWORD is your password
run yarn e2e-test to run your tests
run via cloud
To run the e2e tests via the staging cloud environment you must have an accound on rosebud.qri.cloud that has been cleared by an administrator. For help, please reach out to us on discord.
set your credentials as environment variables:
TEST_E2E_USERNAME is your qri cloud username
TEST_E2E_PASSWORD is your password
set your app url environment variable:
TEST_E2E_APP_URL="https://rosebud.qri.cloud"