Skip to content

fix(UIHelper): wait for Quickstart Hide before dismiss - #136

Closed
gashcrumb wants to merge 2 commits into
redhat-developer:mainfrom
gashcrumb:fix/dismiss-quickstart-wait-visible
Closed

fix(UIHelper): wait for Quickstart Hide before dismiss#136
gashcrumb wants to merge 2 commits into
redhat-developer:mainfrom
gashcrumb:fix/dismiss-quickstart-wait-visible

Conversation

@gashcrumb

Copy link
Copy Markdown
Member

Summary

  • dismissQuickstartIfVisible() used an immediate isVisible() check, so it often no-op'd when the Quickstart drawer mounted shortly after login.
  • Later waitForAppReady / waitForLoad then timed out on the drawer's sticky [role="progressbar"] (seen on overlays PR #2754).
  • Wait briefly for Hide (waitVisibleMs, default 5000) before clicking; still return quietly if Quickstart never appears.
  • Docs note: do not call waitForAppReady before dismiss — that wait includes the Quickstart progressbar.

Test plan

  • Review helper change in ui-helper.ts
  • After publish / bump in overlays, re-run e2e-ocp-helm on a PR that calls dismissQuickstartIfVisible() after login (e.g. backstage workspace notifications / github-events)

Made with Cursor

Immediate isVisible() raced login: the drawer often mounts afterward and
its sticky progressbar then blocks waitForAppReady. Wait briefly for Hide
instead; still no-op if Quickstart never appears.

Co-authored-by: Cursor <cursoragent@cursor.com>

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
Patch release for the dismissQuickstartIfVisible race fix; 2.1.4 is already published.

Co-authored-by: Cursor <cursoragent@cursor.com>

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
@gashcrumb

Copy link
Copy Markdown
Member Author

this isn't needed given the quickstart plugin was disabled by default in 2.1.4, closing.

@gashcrumb gashcrumb closed this Jul 27, 2026
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