appId: dev.expo.updatese2e
---
# This must run at the beginning of each test
- runScript:
    file: ./maestroUpdatesApi.js
    label: Run updates API script
    env:
      MAESTRO_UPDATES_SERVER_PORT: ${MAESTRO_UPDATES_SERVER_PORT}
- evalScript:
    script: ${output.api.uninstallClient(MAESTRO_PLATFORM)}
    label: Remove app from simulator
    env:
      MAESTRO_PLATFORM: ${MAESTRO_PLATFORM}
- evalScript:
    script: ${output.api.installClient(MAESTRO_PLATFORM, MAESTRO_CONFIGURATION)}
    label: Install app on simulator
    env:
      MAESTRO_PLATFORM: ${MAESTRO_PLATFORM}
      MAESTRO_CONFIGURATION: ${MAESTRO_CONFIGURATION}
- evalScript:
    script:  ${output.api.restartUpdatesServer()}
    label: Restart updates server

