test: add E2E tests for autocomplete value suggestions feature (#11027)

Add Playwright E2E tests for the new autocomplete value suggestions
feature that persists field values in IndexedDB and shows them when
typing `field =`.

Tests cover:
- IndexedDB capture from field expansion (Values API)
- IndexedDB capture from search results (marked as expected-to-fail due
to bug)
- Autocomplete suggestions for operators: =, !=, <>, >=, <=, IN, NOT IN,
LIKE
- Numeric value quoting (no quotes for numbers)
- TTL expiry filtering
- Stream/org isolation
- Traces page autocomplete

Note: One test marked as expected-to-fail due to BLOCKER BUG where
captureFromSearchHits() doesn't write to IndexedDB (schemaFields
filtering issue)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Neha P <undefined@users.noreply.github.com>
This commit is contained in:
Neha P
2026-03-27 12:02:07 +05:30
committed by GitHub
co-authored by Claude claude[bot] Neha P
parent f8b2e5e9fa
commit 258eecd447
4 changed files with 1711 additions and 0 deletions
+2
View File
@@ -157,6 +157,7 @@ jobs:
"logsqueries.cte.spec.js",
"logsqueries.matchall.spec.js",
"searchpartition.spec.js",
"logs-autocomplete-suggestions.spec.js",
]
- testfolder: "Alerts"
browser: "chrome"
@@ -262,6 +263,7 @@ jobs:
"traceDetails.spec.js",
"traceAdvancedFiltering.spec.js",
"tracesAnalyzeDimensions.spec.js",
"traces-autocomplete-suggestions.spec.js",
]
- testfolder: "RegressionSet"