Skip to content

test(ui-e2e): wait for search indexing before ES-sensitive asserts - #520

Open
sandhums wants to merge 1 commit into
HeliosSoftware:mainfrom
sandhums:fix/ui-matrix-es-search-waits
Open

test(ui-e2e): wait for search indexing before ES-sensitive asserts#520
sandhums wants to merge 1 commit into
HeliosSoftware:mainfrom
sandhums:fix/ui-matrix-es-search-waits

Conversation

@sandhums

@sandhums sandhums commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add waitForSearchHit helper for composite backends where create ACKs before Elasticsearch indexes.
  • Use it in SearchParameter CRUD and the chained/_has query builder test that fail nightly on sqlite-elasticsearch / s3-elasticsearch.
  • Poll detail-action href and result-row count with a longer timeout so registry/UI swaps can finish.

Test plan

  • Re-run UI Tests (backend matrix) workflow (or wait for next nightly)
  • Confirm sqlite-elasticsearch and s3-elasticsearch pass SearchParameter CRUD + chain/_has query
  • Confirm sqlite/postgres/mongodb matrix jobs still green

Made with Cursor

Nightly ui-tests-matrix flakes on sqlite/s3+Elasticsearch when CRUD or
chained/_has queries run before the write is visible to search.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant