ghostqa/examples/development-hub.yaml

37 lines
1.1 KiB
YAML

# Example GhostQA test spec for Development Hub
name: Development Hub Dashboard
app: development-hub
description: Verify the Development Hub GUI loads and displays projects correctly
tags: [smoke, gui]
steps:
- name: Wait for app window
action: wait_for_window
timeout: 15s
- name: Verify project list visible
action: verify
prompt: "Is there a list of projects visible on the left side of the window?"
expected: true
- name: Count projects
action: verify
prompt: "How many projects are shown in the list? Just give me the number."
- name: Click first project
action: click
prompt: "Click on the first project in the list on the left side"
- name: Verify dashboard loaded
action: verify
prompt: "Does the right panel now show a dashboard with sections like 'GOALS', 'MILESTONES', or 'TODOs'?"
expected: true
- name: Check for todos section
action: verify
prompt: "Is there a 'TODOs' section visible with priority levels like 'HIGH PRIORITY'?"
expected: true
- name: Take final screenshot
action: screenshot