a few new momentic tests

This commit is contained in:
dal 2025-09-18 11:40:23 -06:00
parent 4ea2394596
commit 5ab4e7fc07
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
3 changed files with 52 additions and 1 deletions

View File

@ -0,0 +1,23 @@
fileType: momentic/module
moduleId: d5944b6b-f9c3-4952-8f0e-bec9bc31da95
name: logout
description: click the log out
enabled: true
schemaVersion: 1.0.21
steps:
- id: 7c25cc79-ed6a-47a7-8847-976decbec506
type: PRESET_ACTION
command:
id: 645db1ca-0b54-49a8-9a77-9ef176319c67
type: CLICK
target:
type: description
elementDescriptor: the div with email 'chad@buster.so' in the sidebar
- id: 1175c55c-1529-4a2f-bd9f-01073ec825c0
type: PRESET_ACTION
command:
id: 90d69ef4-37ce-417a-95c3-ae38b88dbe8d
type: CLICK
target:
type: description
elementDescriptor: click the logout button.

View File

@ -0,0 +1,28 @@
fileType: momentic/test
id: 0558c1d8-ab43-40c2-b630-744e9901d7ae
name: login-then-logout-no-cookies
description: a user should log in then log out and there should be no cookies there.
schemaVersion: 1.0.21
advanced:
viewport:
width: 1920
height: 1080
browserType: Chromium
retries: 0
envs:
- name: development
default: true
steps:
- id: 93f4fc64-166c-4be7-85c3-80a87dc53759
type: MODULE
moduleId: defc36e9-b0a7-4bfe-940f-7901493d5e5e
- id: 6d950ded-f974-4b27-9908-d87a20f053b3
type: MODULE
moduleId: d5944b6b-f9c3-4952-8f0e-bec9bc31da95
- id: cdaa5062-117d-43d3-a18f-e38f42500ea5
type: PRESET_ACTION
command:
id: ac2e59c2-ebe3-47b1-8152-b9133c9a0c78
type: AI_ASSERTION
assertion: There should be no authentication cookies or session cookies stored
in the browser

View File

@ -19,7 +19,7 @@ steps:
- id: 292ed32d-c649-4321-bd7b-29516169fb74 - id: 292ed32d-c649-4321-bd7b-29516169fb74
type: PRESET_ACTION type: PRESET_ACTION
command: command:
id: 9a4c8481-9833-4eec-a016-96e8499e620e id: b2d94baa-b0ba-4555-8846-f0d87c47b237
type: CLICK type: CLICK
target: target:
type: description type: description