Moropo
RoadmapTerms
  • Welcome to Moropo
  • Quick Start
  • Uploading your app
    • Producing an Android Build
    • Producing an iOS Build
    • Uploading Your Build To Moropo
  • Creating Tests
    • Using the Test Creator
    • Test Configuration
    • Test Step Commands
      • addMedia
      • assertNotVisible
      • assertTrue
      • assertVisible
      • back (Android only)
      • clearKeychain (iOS Only)
      • clearState
      • copyTextFrom
      • doubleTapOn
      • eraseText
      • evalScript
      • extendedWaitUntil
      • hideKeyboard
      • inputRandomEmail
      • inputRandomNumber
      • inputRandomPersonName
      • inputRandomText
      • inputText
      • launchApp
      • longPressOn
      • openLink
      • pasteText
      • pressKey
      • repeat
      • runFlow
      • runScript
      • scroll
      • scrollUntilVisible
      • setLocation
      • startRecording
      • stopApp
      • stopRecording
      • swipe
      • takeScreenshot
      • tapOn
      • travel
      • waitForAnimationToEnd
    • Test Step Selectors
    • Importing From Maestro
    • Environment Variables
      • ${BUNDLEID}
      • ${EXPORELEASECHANNEL}
      • ${MOROPO_TEST_EMAIL}
      • ${MOROPO_EMAIL_URL}
    • Advanced Use Cases
      • JavaScript
      • Conditionals
      • Network Connection
      • Drag and Drop
  • Running Tests
    • Manually Trigger a Test Run
    • Scheduling a Test Run
    • Tags
    • Supported Devices
    • Test Execution Limits
    • Flakiness Tolerance & Retries
  • CI Integration
    • Initial CI Setup In Moropo
    • GitHub Action
    • Moropo API
      • Branches
      • Builds
      • Test Runs
      • Tests
  • Test Results
    • Results Explorer
    • Slack Reporting
    • Email Reporting
  • App Frameworks
    • Flutter
    • React Native
  • Guides
    • React Native Expo
    • Access Emails During A Test Flow
    • Git workflow using Moropo API
  • Infrastructure
    • IP Addresses
  • Security
    • Services Infrastructure
    • Security Best Practices
Powered by GitBook
On this page
  • Description
  • Usage
  • When is it set?

Was this helpful?

Edit on GitHub
  1. Creating Tests
  2. Environment Variables

${MOROPO_EMAIL_URL}

Last updated 1 year ago

Was this helpful?

Description

Upon each Test Run or Live Interaction a temporary URL is created in order to access the most recent email sent to the . You can find support on the use case on the relevant docs page -Access Emails During A Test Flow. This should be used in conjunction with ${MOROPO_TEST_EMAIL}. What does it contain?

A unique URL.

e.g.

Usage

In script mode

appId: ${BUNDLEID}
---
- launchApp
# Navigate to a sign in page
# Focus on the email address field
- inputText: ${MOROPO_TEST_EMAIL}
# Submit the form to sign-up
- openLink: 
    link: ${MOROPO_EMAIL_URL}
# Copy content from email

In step mode

When is it set?

The variable is set upon each Test Run execution, or upon each new Live Interaction session. In the case of a Test Run running on multiple devices and/or tests, a unique address is created for each separate runner.

https://app.moropo.com/getLatestEmailForTestRun?testRunQueueId=11949&authToken=e74d62d4-e6af-42cf-8848-a9722f7edfe4