mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 16:10:43 +00:00
## Summary Adds Playwright E2E regression tests for 15 verified bug fixes. Tests are added to the existing CI matrix files: - 6 logs tests in `logs-regression-bugs-2.spec.js` - 9 traces tests in `traces-regression-bugs.spec.js` Also fixes framework compliance: all raw `page.locator()` calls moved to page object getter methods, missing assertions added, and flaky test logic fixed in #10595. ## Logs bugs covered | Bug | Description | |-----|-------------| | #11606 | include/exclude search term gets added at incorrect position | | #9339 | collapse or expand the indexlist wont redraw the histogram chart | | #7310 | search term appended instead of replaced in streams dropdown | | #5277 | column positions change back after re-running query | | #4426 | text wrap toggle causes column misalignment on saved view switch | | #4091 | cancel query button on visualize page | ## Traces bugs covered | Bug | Description | |-----|-------------| | #11816 | trace API called multiple times with auto search enabled | | #11815 | traces not sorted correctly when sorted by spans column | | #11531 | spans tab method column references non-existent field | | #11446 | incorrect duration value in logs detail traces tab | | #11384 | switching organization does not clear trace explorer results | | #11244 | timestamp values inconsistent between traces and logs | | #8978 | no cancel option while running a query in traces | | #4151 | trace values not visible on hover in dark mode | | #2887 | traces should be orderable by duration column | ## Files changed | File | Change | |------|--------| | `tests/ui-testing/pages/logsPages/logsPage.js` | 9 new getter methods for selectors | | `tests/ui-testing/pages/tracesPages/tracesPage.js` | 14 new getter methods for selectors | | `tests/ui-testing/playwright-tests/RegressionSet/logs-regression-bugs-2.spec.js` | 6 new tests, 0 raw locators, fixed #10595 | | `tests/ui-testing/playwright-tests/RegressionSet/traces-regression-bugs.spec.js` | 9 new tests, 0 raw locators | ## Test plan All 21 tests (15 new + 6 existing) pass against the dev environment. No new CI config needed — both spec files are already listed in `playwright_regression.yml`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>