Moropo
Ask or search…
⌃K
Links
Comment on page

Trigger Test

A webhook to trigger a scheduled test run. For if you want to trigger tests from any CI system. If you have GitHub please see our GitHub action here.
Usage:
  1. 1.
    First, follow the steps to Create a Scheduled Test Run ID.
  2. 2.
    Then head to your Moropo settings and get your Moropo API key.
  3. 3.
    Then insert the variables into the below command
  4. 4.
    Call the command from any CLI, or CI interface
curl --request POST \
--url https://app.moropo.com/.netlify/functions/triggerTestRun \
--header 'Content-Type: application/json' \
--header 'x-moropo-api-key: MOROPO_API_KEY' \
--data '{
"testRunId": SCHEDULED_TEST_RUN_ID,
"expoReleaseChannel": OPTIONAL_RELEASE_CHANNEL
}'
where;
  • MOROPO_API_KEY is the API key for the target app, found in your Moropo settings.
  • SCHEDULED_TEST_RUN_ID is the UUID of the scheduled test run you wish to trigger.
  • OPTIONAL_RELEASE_CHANNEL is an optional field which can pass a release channel to test