Skip to content

Logs improvements #33

@DavertMik

Description

@DavertMik
  • We need to improve UI/UX of logs in TUI mode
  • what information is logged
  • how it is structured
  • what users want to see
  • what information is less needed

review different testing flows and propose improvements

  • for TUI
  • for non interactive mode

Polish final output it is overslopped:

Image
┌────┬────────┬───────────────────────────────────────────────────────────────────────────────┬───────────┬────────┬───────┐
│ #  │ Status │ Title                                                                         │ Priority  │ Time   │ Steps │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 1  │ failed │ Create a new requirement using the File tab and verify it appears in the list │ critical  │ 227.8s │ 48    │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 2  │ failed │ Edit an existing requirement and verify the changes persist                   │ critical  │ 143.9s │ 37    │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 3  │ passed │ Create a requirement and then delete it to verify delete functionality        │ important │ 144.1s │ 34    │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 4  │ passed │ Switch to Linked tab and verify requirements filter correctly                 │ normal    │ 49.8s  │ 5     │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 5  │ passed │ Switch to Orphaned tab and verify filtering works                             │ normal    │ 36.3s  │ 5     │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 6  │ passed │ Toggle display mode to view requirements by suites                            │ normal    │ 32.2s  │ 9     │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 7  │ passed │ Switch to Jira tab and verify Jira integration features                       │ normal    │ 30.3s  │ 5     │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 8  │ passed │ Search for a specific requirement and verify results filter correctly         │ important │ 184.2s │ 32    │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 9  │ failed │ Click Global tab and verify all requirements are displayed                    │ normal    │ 25.0s  │ 11    │
├────┼────────┼───────────────────────────────────────────────────────────────────────────────┼───────────┼────────┼───────┤
│ 10 │ passed │ Click Confluence tab and verify Confluence integration features               │ normal    │ 27.1s  │ 9     │
└────┴────────┴───────────────────────────────────────────────────────────────────────────────┴───────────┴────────┴───────┘



✔ 10 tests completed
# Session Analysis

The requirements management page was tested across create, edit, delete, filtering, search, and display mode features. Core issue: tests #1 and #2 failed to interact with requirement creation/editing forms, while test #9 reveals a genuine UI bug where the Global tab displays no requirements.

## Coverage

* Pages: /projects/<...>/requirements/
* Features: Requirement CRUD, tab filtering (Global/Confluence/Jira/Linked/Orphaned), search filtering, display mode toggling

## What works

* Delete requirement — #3
* Linked tab filtering — #4
* Orphaned tab filtering — #5
* Suite display mode — #6
* Jira tab switching — #7
* Search filtering — #8
* Confluence tab — #10

## Defects

### [Medium] Global tab shows no requirements and displays Reset button incorrectly

Affects: #9
Reproduce:

    1. Navigate to /projects/zyntra-don-t-touch-cloned/requirements/
    2. Click the Global tab
       Evidence: Notes show "No requirement items found after clicking Global tab" and "Reset button appears on Global tab" — but expected behavior is all requirements display with no Reset button

## Execution Issues

* #1 Create requirement — no creation steps in log (no New Requirement click, no form fill, no Save)
* #2 Edit requirement — no edit steps in log (no requirement selection, no field modification, no Save)
* #3 Delete requirement — passed vacuously, no delete action visible in log, no verification of deletion



Session report saved: example/output/reports/explore-DelightfulCheetah156.md
Plan: example/output/plans/projects_zyntra_don_t_touch_cloned_requirements.md
  Re-run:     bun bin/explorbot-cli.ts test example/output/plans/projects_zyntra_don_t_touch_cloned_requirements.md 1
  Run all:    bun bin/explorbot-cli.ts test example/output/plans/projects_zyntra_don_t_touch_cloned_requirements.md *
  Run range:  bun bin/explorbot-cli.ts test example/output/plans/projects_zyntra_don_t_touch_cloned_requirements.md 1-3

Generated tests (1)
  bun bin/explorbot-cli.ts rerun example/output/tests/requirements_management_testing.spec.ts
  List tests:  bun bin/explorbot-cli.ts runs

Screencasts (10)
  example/output/screencasts/requirements_management_testing-1-create_a_new_requirement_using_the_file_tab_and_verify_it_appears_in_the_list.webm
  example/output/screencasts/requirements_management_testing-2-edit_an_existing_requirement_and_verify_the_changes_persist.webm
  example/output/screencasts/requirements_management_testing-3-create_a_requirement_and_then_delete_it_to_verify_delete_functionality.webm
  example/output/screencasts/requirements_management_testing-4-switch_to_linked_tab_and_verify_requirements_filter_correctly.webm
  example/output/screencasts/requirements_management_testing-5-switch_to_orphaned_tab_and_verify_filtering_works.webm
  example/output/screencasts/requirements_management_testing-6-toggle_display_mode_to_view_requirements_by_suites.webm
  example/output/screencasts/requirements_management_testing-7-switch_to_jira_tab_and_verify_jira_integration_features.webm
  example/output/screencasts/requirements_management_testing-8-search_for_a_specific_requirement_and_verify_results_filter_correctly.webm
  example/output/screencasts/requirements_management_testing-9-click_global_tab_and_verify_all_requirements_are_displayed.webm
  example/output/screencasts/requirements_management_testing-10-click_confluence_tab_and_verify_confluence_integration_features.webm
  Browse plan:  ls example/output/screencasts/requirements_management_testing-*
⏳ The test results will be added to the HTML report. It will take some time...
📊 The HTML report was successfully generated. Full filepath: file:///home/davert/projects/explorbot/example/output/reports/session-DelightfulCheetah156.html
⏳ The test results will be added to the Markdown report. It will take some time...
📝 The Markdown report was successfully generated. Full filepath: file:///home/davert/projects/explorbot/example/output/reports/session-DelightfulCheetah156-tests.md
[TESTOMATIO] 📊 Report URL: http://localhost:3000/projects/session-tests/runs/7ed313a6/report

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions