project:
  name: "Dynavera"
  url: "https://fyp.viswamedha.com"
  viewport: { width: 1440, height: 900, deviceScaleFactor: 2 }
  theme: "light"

scenarios:

  - id: "manager-login-and-dashboard"
    name: "Manager Login and Dashboard Interactions"
    type: "screenshot+video"
    page: "/"
    actions:
      - wait: 2000
      - screenshot: { name: "01-home" }
      - click: { selector: ".ant-menu-item:nth-child(2)" }
      - wait: 1500
      - screenshot: { name: "02-about" }
      - click: { selector: ".ant-menu-item:nth-child(3)" }
      - wait: 1500
      - screenshot: { name: "03-getting-started" }
      - click: { selector: ".ant-menu-item:nth-child(4)" } 
      - wait: 1500
      - screenshot: { name: "04-pricing" }
      - click: { selector: ".ant-btn-background-ghost" } 
      - wait: 1500
      - screenshot: { name: "05-login-page" }
      - type: { selector: "input[type=\"email\"]", text: "haleisaac@example.com" }
      - type: { selector: "input[type=\"password\"]", text: "password" }
      - screenshot: { name: "06-login-filled" }
      - click: { selector: "button[type=\"submit\"]" }
      - wait: 3000
      - screenshot: { name: "07-org-overview" }
      - scroll: { y: 350 }
      - wait: 700
      - screenshot: { name: "08-org-roles" }
      - scroll: { y: 0 }
      - click: { selector: ".header .ant-btn-primary" } 
      - wait: 7000
      - screenshot: { name: "09-manage-details" }
      - click: { selector: ".ant-tabs-tab:has-text(\"Members\")" }
      - wait: 1000
      - screenshot: { name: "10-manage-members" }
      - click: { selector: ".ant-tabs-tab:has-text(\"Roles\")" }
      - wait: 1000
      - screenshot: { name: "11-manage-roles" }
      - click: { selector: ".ant-tabs-tab:has-text(\"Files\")" }
      - wait: 1000
      - screenshot: { name: "12-manage-files" }
      - click: { selector: ".ant-menu-item:nth-child(5)" } 
      - wait: 2000
      - screenshot: { name: "13-agents-list" }
      - click: { selector: ".ant-menu-item:nth-child(7)" } 
      - wait: 3000
      - screenshot: { name: "14-progress-overview" }

  - id: "trainee-login-and-onboarding"
    name: "Trainee Login and Onboarding Interactions"
    type: "screenshot+video"
    page: "/"
    actions:
      - click: { selector: ".ant-btn-background-ghost" } 
      - wait: 3000
      - click: { selector: ".ant-btn-background-ghost" }  
      - wait: 1500
      - type: { selector: "input[type=\"email\"]", text: "j.thompson@example.com" }
      - type: { selector: "input[type=\"password\"]", text: "password" }
      - screenshot: { name: "15-trainee-login" }
      - click: { selector: "button[type=\"submit\"]" }
      - wait: 3000
      - screenshot: { name: "16-trainee-org-view" }
      - scroll: { y: 250 }
      - wait: 700
      - screenshot: { name: "17-trainee-roles-list" }
      - click: { selector: ".role-item:first-of-type .ant-btn-default" } 
      - wait: 4000
      - screenshot: { name: "18-onboarding-entry" }
      - scroll: { y: 400 }
      - wait: 1000
      - screenshot: { name: "19-onboarding-mid" }
      - scroll: { y: 800 }
      - wait: 700
      - screenshot: { name: "20-onboarding-bottom" }

export:
  videos: { format: "mp4", fps: 24, crf: 18 }
  combined_video: { enabled: true, name: "demo-recording.mp4" }
