Skip to content

[Backport 3.8] Fix reportsDashboards edit spec flakiness with API intercepts - #2118

Merged
rishabh6788 merged 1 commit into
opensearch-project:3.8from
opensearch-ci-bot:backport/backport-2112-to-3.8
Jul 27, 2026
Merged

[Backport 3.8] Fix reportsDashboards edit spec flakiness with API intercepts#2118
rishabh6788 merged 1 commit into
opensearch-project:3.8from
opensearch-ci-bot:backport/backport-2112-to-3.8

Conversation

@opensearch-ci-bot

Copy link
Copy Markdown
Contributor

Backport 04be670 from #2112.

…arch-project#2112)

Add cy.intercept() helpers for the GET and PUT reportDefinitions API
calls so the edit page tests wait for network responses before
asserting UI state. The previous implementation clicked without
waiting, causing intermittent "before all" hook failures when the
edit page had not fully loaded.

Fixes: opensearch-project/dashboards-reporting#785

Signed-off-by: sumukhswamy <sumukhhs@amazon.com>
(cherry picked from commit 04be670)
Signed-off-by: opensearch-ci-bot <opensearch-infra@amazon.com>
@rishabh6788
rishabh6788 merged commit ddc8ff1 into opensearch-project:3.8 Jul 27, 2026
60 checks passed
@opensearch-ci-bot
opensearch-ci-bot deleted the backport/backport-2112-to-3.8 branch July 27, 2026 17:52
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.

3 participants