appId: ${APP_ID}
env:
  USERNAME: zulu-e2e
  PASSWORD: '12345678'
  COMMUNITY_NAME: Humand E2E
  MODULE_NAME: Performance
---
- runFlow: ./subFlows/navigate-to-module.yml
- tapOn:
    text: .*New evaluation cycle E2E.*
- assertVisible:
    text: .*Complete reviews.*
- tapOn:
    text: .*Complete reviews.*
- tapOn:
    text: ^Pending$
- runFlow:
    when:
      notVisible: .*Excellent work!.*
    commands:
      - assertVisible:
          text: .*zulu e2e.*
      - tapOn:
          text: .*zulu e2e.*
      - assertVisible:
          text: .*Question 1.*
      - tapOn:
          text: .*Answer 1.*
      - tapOn:
          text: ^Next$
      - assertVisible:
          text: .*Question 2.*
      - tapOn:
          text: .*Answer 2.*
      - tapOn:
          text: ^Send$
      - tapOn:
          text: ^Finish$
      - assertVisible:
          text: .*Well done.*
      - assertVisible:
          text: .*You've completed all reviews.*
