Skip to content

Stabilize TestCafe role session capture - #39

Merged
Vonng merged 1 commit into
mainfrom
codex/stabilize-testcafe-roles
Sep 1, 2026
Merged

Vonng merged 1 commit into
mainfrom
codex/stabilize-testcafe-roles

Conversation

@Vonng

@Vonng Vonng commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

Wait for credential login to leave /login before TestCafe caches a Role session. Waiting only for the submit button to disappear was insufficient because the loading state also removes that control; the cached role could therefore contain no valid session cookie and later tests landed on the login page.

Evidence

The post-merge main run failed one Permissions 6 test while the same job passed on the PR commit. Its uploaded screenshot showed the login page, not the expected bucket browser. Earlier Permissions A/8 flakes had the same screenshot and disappeared after adding the first-stage role wait. This adds the missing navigation-completion condition.

Validation

  • TypeScript typecheck
  • Prettier
  • exact behavior will be validated by the Linux TestCafe permission matrix

@Vonng
Vonng merged commit 298b2bf into main Sep 1, 2026
38 checks passed
@Vonng
Vonng deleted the codex/stabilize-testcafe-roles branch September 1, 2026 11:36
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