Skip to content

[Backport 2.x] Buffer waitForLoader before checking for icon#858

Merged
kavilla merged 1 commit into2.xfrom
backport/backport-857-to-2.x
Sep 15, 2023
Merged

[Backport 2.x] Buffer waitForLoader before checking for icon#858
kavilla merged 1 commit into2.xfrom
backport/backport-857-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport e7c7e59 from #857

Some async calls occur after navigating and sometimes navigating too quickly
prevents the calls from having correct data and therefore the homeIcon is in
a bad state.

This adds the ability to buffer before checking for the homeIcon.

Defaulted to 0 ms, but for `yarn cypress:run-with-security` configures
WAIT_FOR_LOADER_BUFFER_MS to be 500 ms

Issue resolved:
opensearch-project/OpenSearch-Dashboards#5028

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit e7c7e59)
@kavilla kavilla merged commit 3c9f922 into 2.x Sep 15, 2023
@github-actions github-actions Bot deleted the backport/backport-857-to-2.x branch September 15, 2023 22:40
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