Nightly Test Activities¶
KAIMO and Markdown Collab were archived on 13.11.2026 at the customer’s request. Their tiles, the Markdown workflow and its activities are no longer part of the nightly run. Prompt Engineering collaboration remains covered.
This page describes the concrete activities that are checked automatically in the nightly run.
Goal¶
Before each productive switch of the blue-green deployment color, it is verified that central user interactions as well as cross-role handoffs still work.
Tile Activities (Tile-by-Tile)¶
Prompt Engineering¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| PE-CREATE-001 | Create a new prompt | Prompt card appears in the list |
| PE-BLOCK-001 | Create a block and edit text | Block with content visible |
| PE-TEST-001 | Start the test dialog | LLM response is displayed |
| PE-EXPORT-001 | Export prompt as JSON | File download starts |
| PE-IMPORT-001 | Import prompt blocks from JSON | Imported block in the list |
| PE-SHARE-001 | Share prompt with an evaluator | Evaluator visible in the shared list |
| PE-SHARED-VISIBLE-001 | Open the shared prompt as an evaluator | Prompt opens in the detail view |
| PE-UNSHARE-001 | Remove the share again | Evaluator disappears from the shared list |
| PE-CLEANUP-001 | Delete the test prompt | No test artifact remains |
Batch Generation¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| BG-WIZ-ENTRY-001 | Open the Generation Hub, check wizard entry | New-job button and wizard visible |
| BG-WIZ-HANDOFF-001 | Check the transition to the Scenario Wizard | Wizard/scenario handoff reachable |
Scenario Manager¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| SCN-ASSIGN-SETUP-001 | Create a nightly test scenario via API | Scenario ID returned |
| SCN-ASSIGN-INVITE-001 | Invite an evaluator via the UI | Evaluator visible in the member card |
| SCN-ASSIGN-ROLE-001 | Change role in the team tab | Role label updates |
| SCN-ASSIGN-VISIBLE-001 | See and accept the invitation as an evaluator | Invitation card with accept button |
| SCN-ASSIGN-EVAL-001 | Evaluator jumps into the evaluation | Evaluation route is reached |
| SCN-ASSIGN-CLEANUP-001 | Delete the nightly scenario | No test artifact remains |
Conference Manager¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| CONF-REQ-SETUP-001 | Create a nightly research group | Group ID returned |
| CONF-REQ-SUBMIT-001 | Send an access request as a researcher | Success message displayed |
| CONF-REQ-VISIBLE-001 | Request visible in the members area | Row with researcher username |
| CONF-REQ-APPROVE-001 | Approve the access request | Request disappears, member appears |
| CONF-REQ-MEMBER-001 | Researcher is a member | Member entry visible |
| CONF-REQ-CLEANUP-001 | Delete the nightly research group | No test artifact remains |
| CONF-TABS-001 | Click through all 5 tabs (Conferences, Papers, Calendar, Timeline, Kanban) | Each tab shows its own content |
User Settings¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| SETTINGS-NAV-001 | Open the settings page | Sidebar with tabs visible |
| SETTINGS-TABS-001 | Click through all sidebar tabs | Each tab shows matching content |
| SETTINGS-THEME-001 | Check the theme toggle | Toggle button present and clickable |
Anonymization Pipeline¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| ANON-VIEW-001 | Open the pipeline manager | Page loads without errors |
| ANON-TOGGLE-001 | Switch the view toggle (Cards/List) | Display changes |
Chatbot Manager¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| CBM-ACCESS-001 | chatbot_manager opens /chatbot-manager | Chatbot Manager page visible |
| CBM-TABS-001 | Click through tabs (Chatbots, RAG, Crawler) | Tab contents visible |
Support Tickets¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| TICKET-CREATE-001 | Evaluator files a ticket via the app-bar button (run tag in the title) | Ticket created (HTTP 201), dialog closes |
| TICKET-MY-002 | Evaluator opens My Tickets through the home tile (/tickets) |
New ticket is in the list |
| TICKET-LINK-005 | Evaluator opens the create dialog and clicks "My tickets" | Dialog closes and the ticket list is visible |
| TICKET-ADMIN-003 | Admin opens the board /admin/tickets (list), opens the ticket, sets "In progress" and comments |
Status in_progress, comment in the history |
| TICKET-REPLY-004 | Evaluator opens the ticket detail | Admin comment visible |
Tickets deliberately cannot be deleted. The nightly ticket therefore carries the run tag in its title, and at the end the admin sets it to rejected with the comment "E2E".
Communication Analysis (until 2026-11-13 "OnCoCo")¶
Since 2026-11-02 (security wave S4) the tile depends on feature:oncoco:view/:edit (researcher, admin) instead of feature:comparison:*. Since 2026-11-13 /oncoco shows the Communication Analysis tool; old sub-paths redirect to /oncoco. The workflow starts no analysis and does not depend on the optional analysis service: ready and "service unavailable" both pass.
| Activity-ID | Description | Expected Result |
|---|---|---|
| ONCOCO-VIEW-001 | Researcher opens /oncoco and loads GET /api/oncoco/tool/capabilities |
Tool shows input and model choice or "service unavailable", API answers 200 |
| ONCOCO-DENY-001 | Evaluator calls GET /api/oncoco/tool/capabilities and opens /oncoco |
API 403, the router redirects away from /oncoco |
Leaderboard¶
Since 2026-11-12 (level system) the "Leaderboard" tile takes every role with feature:gamification:view to /leaderboard. The accounts test_admin, test_researcher, test_evaluator and test_chatbot_manager do not count on the board (eligible: false, EXCLUDED_USERNAMES in app/services/gamification/rules.py). The workflow checks reachability and controls, not places or points. It resets the opt-out to its original state at the end.
| Activity ID | Description | Expected result |
|---|---|---|
| LB-TILE-001 | Evaluator opens /leaderboard from the Home tile |
Own card, board and badge gallery visible |
| LB-PERIOD-001 | Switch to "This month" | GET /api/gamification/leaderboard?period=month answers 200, entries carry no scenario or type fields |
| LB-OPTOUT-001 | Toggle the opt-out "Appear anonymously on the leaderboard" | PATCH /api/gamification/me/settings 200, leaderboard_visible flipped according to the API |
| LB-SETTINGS-001 | Open Settings → Preferences, click "Change on the leaderboard" | "Leaderboard" section visible, the button leads to /leaderboard, where the opt-out is |
| LB-ROLE-001 | Chatbot manager calls /api/gamification/me and /api/gamification/leaderboard |
Both answer 200 |
Anonymization (Anonymize cases)¶
Since 2026-11-02 (T-158) the tile "Anonymize cases" (contract name "Anonymisierung") leads to /anonymization-cases. It depends on feature:anonymization:view (researcher, admin, otherwise by grant). With exactly one scenario the page forwards to that scenario's board. The test clicks no buttons, because "Paste case" would create cases on staging; there is therefore no separate workflow. Evaluator and chatbot_manager check the lock in the negative routes.
| Activity-ID | Description | Expected Result |
|---|---|---|
| ANONCASE-TILE-001 | Admin clicks the tile "Anonymize cases" | URL contains /anonymization-cases, no login redirect, no button sweep |
Online experiment (scenario type 12)¶
Since 2026-11-12 the LLM interaction study is scenario type 12 "Online experiment". The three tiles "Studie (Test)", "Studie — Übersicht" and "Studie — Blockvorschau" were removed; the entry point is the Scenario Manager with the experiment's tabs. The workflow only reads: the "Start click test" button is not clicked, because /s/klicktest creates a participation, and the tabs are not swept, because their buttons archive collections and create invite links. If the instance has no type-12 scenario, the workflow is skipped with a message.
| Activity-ID | Description | Expected Result |
|---|---|---|
| EXP-MGR-OPEN-001 | Admin opens the Scenario Manager and looks for a type-12 scenario in its list | Scenario Manager visible, GET /api/scenarios answers 200; without a type-12 scenario the test is skipped with a message |
| EXP-MGR-OVERVIEW-001 | Open the type-12 scenario | Tab "Overview" active (?tab=experiment-overview), overview of the collections visible |
| EXP-MGR-CLICKTEST-001 | Look for the "Start click test" button | Button visible for the manager, not clicked |
Recordings (individual grant only)¶
Since 2026-11-18 the "Recordings" tile (German "Aufnahmen") leads to /recordings. It depends on feature:recordings:use, and that permission belongs to no role, not even admin: it is granted to individual accounts only. The tile contract therefore lists it with "grant_only": true and empty allowed_roles; no nightly role sees it, and its navigation test is skipped. The workflow only reads and checks that all four standard roles stay out. It grants nothing, because staging shares its database with production.
| Activity-ID | Description | Expected Result |
|---|---|---|
| REC-DENY-001 | Evaluator, researcher, chatbot manager and admin each open /Home, call /recordings and request GET /api/recordings with their session token |
Tile missing, the router redirects away from /recordings, API 403 |
Infrastructure (MkDocs + Matomo)¶
| Activity-ID | Description | Expected Result |
|---|---|---|
| INFRA-MKDOCS-001 | Open MkDocs documentation at /mkdocs/en/ | HTTP 200, navigation/content visible |
| INFRA-MATOMO-001 | Open Matomo Analytics at /analytics/ | HTTP < 500, login form or dashboard visible |
| INFRA-MKDOCS-SEARCH-001 | Test the MkDocs search function | Search results appear on input |
Cross-Feature Interactions¶
Share a prompt and view it as another user¶
Flow: Researcher creates a prompt -> shares it with an evaluator -> evaluator opens the shared prompt -> researcher removes the share
Tested in: Prompt Engineering Collaboration
Scenario invitation and role change¶
Flow: Admin creates a scenario -> invites an evaluator -> evaluator sees the invitation -> accepts -> jumps into the evaluation
Tested in: Scenario Manager Role Assignment
Batch Generation -> Scenario Wizard¶
Flow: Researcher opens Batch Generation -> starts the wizard -> transition to the Scenario Wizard
Tested in: Szenario Wizard
Conference Manager access request¶
Flow: Admin creates a research group -> researcher submits an access request -> admin sees the request -> approves -> researcher is a member
Tested in: Conference Manager Access Request
Conference Manager tab navigation¶
Flow: Researcher opens the Conference Manager -> navigates all 5 tabs (Conferences, Papers, Calendar, Timeline, Kanban)
Tested in: Conference Manager Tab Navigation
User Settings navigation¶
Flow: User opens Settings -> navigates all sidebar tabs -> theme toggle checked
Tested in: User Settings Navigation
Support ticket round trip¶
Flow: Evaluator files a ticket via the app bar -> opens My Tickets through the home tile -> also checks the link in the create dialog -> admin finds it on the board, sets "In progress" and replies -> evaluator reads the reply in the ticket
Tested in: Support Ticket Roundtrip
Communication Analysis: researcher yes, evaluator no¶
Flow: Researcher opens the Communication Analysis tool -> evaluator (only feature:comparison:*) gets 403 from the API and is redirected away from /oncoco
Tested in: Communication Analysis Researcher Access
Leaderboard: tile, period, opt-out¶
Flow: Evaluator opens the leaderboard from the Home tile -> switches to "This month" -> toggles the opt-out -> returns from the settings to the leaderboard through the button -> chatbot manager reads /me and the board -> the opt-out is reset
Tested in: Leaderboard Rundweg
Online experiment through the Scenario Manager¶
Flow: Admin opens the Scenario Manager -> takes a type-12 scenario from its list -> the scenario opens on the tab "Overview" -> the "Start click test" button is visible (not clicked)
Tested in: Online-Experiment Manager-Rundweg
Recordings: no standard role, not even admin¶
Flow: Evaluator -> researcher -> chatbot manager -> admin: for each role the "Recordings" tile is missing on /Home, /recordings redirects away, and GET /api/recordings answers 403 (read-only, no individual grant)
Tested in: Recordings Grant-Only Access
Tile Regression (Automatic)¶
Each tile is checked per role:
| Check | Description |
|---|---|
| Visibility | Tile is visible for allowed roles, hidden for others (grant_only: hidden for all) |
| Navigation | Clicking the tile leads to the correct route |
| No login redirect | An authenticated user is not redirected to /login |
| No 404 | The target page does not show a NotFound |
| No 5xx | No backend API errors during navigation |
| Safe Button Sweep | Non-destructive buttons on the target page are clicked |
Covered tiles: Prompt Engineering, Batch Generation, Evaluation, Scenario Manager, Chatbot, Video, Chatbot Arena, Communication Analysis, Admin Dashboard, Support Tickets, Landing Page Preview, Chatbot Admin, RAG Admin, Conference Manager, Recordings, Pipeline, My Tickets, Leaderboard, User Settings
Roles: evaluator, researcher, chatbot_manager, admin
Tiles by individual grant only (grant_only): A tile with "grant_only": true in the contract (since 2026-11-18 only "Recordings") is seen by none of the four roles, not even admin. For such a tile the nightly run checks visibility (hidden for every role), the negative route check for all four roles and a workflow of its own; navigation and the button sweep are left out.
Role Coverage¶
Order in the nightly run:
test_evaluatortest_researchertest_chatbot_managertest_admin
ijcai_reviewer is explicitly excluded from this nightly run.
Source of Truth¶
llars-frontend/src/config/home_tiles.contract.jsonllars-frontend/e2e/nightly/nightly_workflows.contract.jsonllars-frontend/e2e/nightly/nightly_activities.contract.jsondocs/testing/nightly/NIGHTLY_TILE_MATRIX.md
CI Gate¶
python3 scripts/testing/validate_nightly_coverage.py
The check fails if:
- Home routes and the tile contract do not match.
- A tile name has no test title of the same name.
- A workflow name has no test title of the same name.
- A mandatory activity ID (
[ACT:<ID>]) is missing from the nightly specs. Home.vueor the tile contract was changed but tests/docs were not updated along with it.
Nightly VM Housekeeping¶
After a successful production smoke, maintenance:docker-cleanup runs:
docker image prune -af --filter "until=168h"docker builder prune -af --filter "until=168h"
This removes only unused artifacts older than 7 days, and the VM does not run into storage shortages.
Change Procedure¶
When a tile or user interaction is changed:
- Update the contract.
- Align the E2E test title unchanged with the tile name.
- Add an activity entry to the matrix.
- Run the CI check locally.