buster/apps/momentic/tests/poke-around-assets.test.yaml

139 lines
4.4 KiB
YAML

fileType: momentic/test
id: e257c5b0-a1c0-462a-8ebe-40eaa6aa5b42
name: poke-around-assets
description: Clicks on each assets page and confirms that they are all working.
Dig into an asset and confirm that it shows and there are no errors.
schemaVersion: 1.0.21
advanced:
viewport:
width: 1920
height: 1080
browserType: Chromium
retries: 0
envs:
- name: development
default: true
steps:
- id: ec3b686b-19f6-44f0-a7a2-87ac70ff5646
type: MODULE
moduleId: defc36e9-b0a7-4bfe-940f-7901493d5e5e
- id: a4016900-d9db-4b78-823b-c9c1a86fcf38
type: PRESET_ACTION
command:
id: c82bb53a-5fa4-4533-9269-820a16ce46ec
type: CLICK
target:
type: description
elementDescriptor: Chat history link in sidebar
- id: f5edadec-c5dd-4ca7-a83b-77340a19a553
type: PRESET_ACTION
command:
id: db2fe57e-6a83-4f87-bcb8-a58a67f61c7e
type: AI_ASSERTION
assertion: The page shows a list of chats ordered by last updated.
- id: d4f51536-0dc5-4220-8279-7aad4fb33b60
type: PRESET_ACTION
command:
id: c3951a32-2300-4057-936b-a0a6bd21f14e
type: CLICK
target:
type: description
elementDescriptor: The first chat title
- id: 04501e1a-99e3-477b-b588-c1e2a0dea74d
type: PRESET_ACTION
command:
id: c0c882fc-7a21-493e-897c-79ea814a5612
type: AI_ASSERTION
assertion: Previous messages have loaded and there is an input text box with Ask
Buster a question..
- id: 048f09d7-b9a7-4414-b1bb-63094ecdc0d6
type: PRESET_ACTION
command:
id: bf3b0068-aa8b-4e46-b189-01ba172bf1f9
type: CLICK
target:
type: description
elementDescriptor: Metrics link in sidebar
- id: e2ef9894-6f3a-44a2-a002-c81ac1f608c0
type: PRESET_ACTION
command:
id: ebb9a1c3-5d1e-4ae1-a389-2627dd6e7c24
type: AI_ASSERTION
assertion: The page shows a list of metrics with various titles.
- id: 9d42930d-c514-41d7-a7e7-f25e4f67c1be
type: PRESET_ACTION
command:
id: 8180b086-ac45-4ee0-8de3-3a30c1ef37f5
type: CLICK
target:
type: description
elementDescriptor: The first Metric title in the list
- id: 75ad2e09-0550-44ce-af16-71463149d094
type: PRESET_ACTION
command:
id: 987f393c-51a7-4c18-b8e8-147c4c4c07d5
type: AI_ASSERTION
assertion: Check that we have navigated to /app/metrics and that there is a
chart or value showing
- id: 619998a7-31ea-4680-8d06-b68e3c395228
type: PRESET_ACTION
command:
id: c81265f6-b341-4200-962d-a6917dd1edb3
type: CLICK
target:
type: description
elementDescriptor: Dashboards link in sidebar
- id: 09d205fa-81a0-4c14-8e68-91400ef40b81
type: PRESET_ACTION
command:
id: 2d080dff-d441-4dd8-9870-9a562eaafc2c
type: AI_ASSERTION
assertion: The page shows a list of dashboards ordered by last updated
- id: ecf75305-c1c8-4a4b-ad47-084f49b27ea7
type: PRESET_ACTION
command:
id: 3b5d81bc-348d-4bc8-aae1-2c951c7d88e5
type: CLICK
target:
type: description
elementDescriptor: The first dashboard title
- id: 6b29840f-1c4c-457b-b234-117705d5ec79
type: PRESET_ACTION
command:
id: 6d3cba6c-cbc1-4731-a72f-206a78fd0c95
type: AI_ASSERTION
assertion: Confirm /app/dashboards is in the url and there are multiple graphs,
charts, or value metrics showing
- id: bc81da52-c83f-4d01-a4aa-500b70b0303a
type: PRESET_ACTION
command:
id: 2f98e713-8a5e-4f0b-b271-42aada44887a
type: CLICK
target:
type: description
elementDescriptor: Reports link in sidebar
- id: 329047cb-77f3-45b1-8437-7c9e1d8cd332
type: PRESET_ACTION
command:
id: e17308c1-b9f7-4908-b909-058a2d380cfa
type: AI_ASSERTION
assertion: The page shows a list of reports ordered by updated at
- id: 6a1235f9-2623-4ada-8722-38a6faf44883
type: PRESET_ACTION
command:
id: 51bcfee5-0b58-4ddb-9844-0cad2ead40ef
type: CLICK
target:
type: description
elementDescriptor: Click on the first report title
- id: 6246596c-0ef8-4629-8436-445cd93bea1c
type: PRESET_ACTION
command:
id: 202ac53e-8689-4038-b3b7-01d7a6a03890
type: AI_ASSERTION
assertion: Confirm /app/reports is in the url and there is a report with text
and metric graphics
- id: e230c41a-b5a5-45ad-8e8b-10b85f6714ec
type: MODULE
moduleId: d5944b6b-f9c3-4952-8f0e-bec9bc31da95