Skip to content

test: cover the page that closes the authentication popup - #153

Merged
oleksandr-nc merged 1 commit into
mainfrom
test/oauth-popup
Sep 22, 2026
Merged

oleksandr-nc merged 1 commit into
mainfrom
test/oauth-popup

Conversation

@oleksandr-nc

Copy link
Copy Markdown
Contributor

The page that ends the OAuth flow loads its own bundle, and no test opened it, so a dependency update could break the last step of connecting an account with every check green.

The popup page is covered

The test opens the page with a user name, pretends to be the window that opened it, and expects that name to arrive in the message the bundle posts back before it closes the popup.

The server gets longer to start

A Playwright run failed this week because the shallow server container was still booting after five minutes, so the suite waits ten minutes for it now.

馃 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

The popup page is the one frontend of the app that no test loaded, and CI
builds the frontend without running it, so a dependency update could break
the end of the OAuth flow with every check green.

The new test opens the page with a user name, pretends to be the window
that opened it, and expects the name to arrive in the message the bundle
posts back.

The server container also gets ten minutes to start instead of five, after
a run failed on a slow runner while the container was still booting.

Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
@oleksandr-nc
oleksandr-nc merged commit 9a044b9 into main Sep 22, 2026
23 checks passed
@oleksandr-nc
oleksandr-nc deleted the test/oauth-popup branch September 22, 2026 08:35
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