mirror of https://github.com/buster-so/buster.git
101 lines
3.1 KiB
YAML
101 lines
3.1 KiB
YAML
fileType: momentic/test
|
|
id: 17b35469-b175-4d01-8df3-5e713540d625
|
|
name: edit-with-ai-dashboard
|
|
description: Click into an already created dashboard and hit edit with ai to modify it
|
|
schemaVersion: 1.0.21
|
|
advanced:
|
|
viewport:
|
|
width: 1920
|
|
height: 1080
|
|
browserType: Chromium
|
|
retries: 0
|
|
envs:
|
|
- name: development
|
|
default: true
|
|
steps:
|
|
- id: 4a5ad7ae-44dd-4eab-98d0-1dde0064ead1
|
|
type: MODULE
|
|
moduleId: defc36e9-b0a7-4bfe-940f-7901493d5e5e
|
|
- id: 550251fb-5277-4dd8-acfe-6803835a103e
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 454a3d63-a4cd-4349-9775-033cfa8e5f3a
|
|
type: CLICK
|
|
target:
|
|
type: description
|
|
elementDescriptor: Dashboards in the left navigation panel
|
|
- id: a440cada-a3f0-4d81-ad43-c906b98dc93e
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 6414c705-109a-420d-bbc5-641daa5279f9
|
|
type: CLICK
|
|
target:
|
|
type: description
|
|
elementDescriptor: click the bottom Dashboard title in the list of Dashboards
|
|
- id: 74cc34ca-dbe7-4d4a-be94-45a710a5d943
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 89950f12-19ab-4a2d-ac51-bd1ba3c21821
|
|
type: WAIT
|
|
delay: 1
|
|
- id: ee102803-53a3-4375-b398-fef4cfacf47d
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 13003806-55ce-4ff2-a801-962b4b1aa1ec
|
|
type: CLICK
|
|
target:
|
|
type: description
|
|
elementDescriptor: Click the Edit with ai button above the dashboard on the
|
|
right side of the screen.
|
|
- id: 66d225c1-7c39-4624-b05d-ddc8b24651fe
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 5d19c7d4-31f4-4b82-acf2-d9c2a28b1ef6
|
|
type: WAIT_FOR_URL
|
|
matcher:
|
|
type: SUBSTRING
|
|
url: /chats
|
|
timeout: 2
|
|
- id: 0a3b675d-c0d6-4164-91af-f0b2f1876a90
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 1a1c33d7-8c69-462c-82db-f9bd23757f38
|
|
type: WAIT_FOR_URL
|
|
matcher:
|
|
type: SUBSTRING
|
|
url: /dashboards
|
|
timeout: 2
|
|
- id: 0ec0914c-dc33-4230-a425-00a516c19680
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 42467313-a17a-47b4-9474-27b1c18aaca1
|
|
type: AI_ASSERTION
|
|
assertion: Confirm we have message history on the left side of the screen and
|
|
that we have a dashboard on the right side of the screen with multiple
|
|
metrics. Metrics can be charts graphs or values.
|
|
- id: 24bf099c-cca8-4edb-b5d7-dbc2a33121f7
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 7ee37c71-a82c-4dba-afee-2c5d8b9877b7
|
|
clearContent: true
|
|
type: TYPE
|
|
target:
|
|
type: description
|
|
elementDescriptor: Text box on left side of the screen should say Ask Buster a question...
|
|
value: Can you add a pie chart to the top of this dashboard that shows orders by
|
|
product type.
|
|
- id: e160f565-db25-403e-9d8f-966bc5b4822c
|
|
type: PRESET_ACTION
|
|
command:
|
|
id: 86b05ada-93b7-40f1-882b-669aa4bfbc9a
|
|
type: CLICK
|
|
target:
|
|
type: description
|
|
elementDescriptor: Submit question button in the text box on bottom left side.
|
|
- id: 76528e4d-fdc7-47c6-8f31-994b030878a7
|
|
type: MODULE
|
|
moduleId: 805447d3-e699-46f6-b1d2-0132840b3f20
|
|
- id: 12696ecd-9138-4f9d-9cba-4c19a1ab2c27
|
|
type: MODULE
|
|
moduleId: 34c6e2fd-2455-4423-bd16-81f75250a72e
|