appId: com.edde746.plezy
name: Logout returns to authentication
tags:
  - e2e
  - auth
---
- runFlow: ../subflows/onboard_jellyfin.yaml
- tapOn: "(?s)^M(?:.*Profiles.*)?$"
- tapOn:
    text: "Log out"
    below:
      text: "Settings"
- extendedWaitUntil:
    visible: "Are you sure you want to log out?"
    timeout: 10000
- tapOn:
    text: "Log out"
    below:
      text: "Are you sure you want to log out?"
- extendedWaitUntil:
    visible: "Sign in with Plex"
    timeout: 20000
- assertVisible: "Connect to Jellyfin"
