Skip to content

flake: create user with password #1605

Description

@flake-investigator

CI Failure

Failure Details

Playwright failure:

[tests] › e2e/tests/users/createUserWithPassword.spec.ts:10:5 › create user with password
Error: page.goto: Navigation to "http://localhost:3111/deployment/users" is interrupted by another navigation to "http://localhost:3111/"
  at createUser (/home/runner/work/coder/coder/site/e2e/helpers.ts:1296:13)

Artifacts uploaded: screenshot/video/trace in playwright-artifacts-test-e2e-73acb2d5b466322f69566903cb56e9fe42f794ca.

Root Cause

Likely flaky navigation/redirect while opening /deployment/users in the createUser helper. The page navigated to / mid-navigation. No data race, panic, or OOM indicators in the logs.

Ownership / Assignment Analysis

# Test function
git blame -L 9,11 site/e2e/tests/users/createUserWithPassword.spec.ts
# Helper
git blame -L 1288,1310 site/e2e/helpers.ts

createUserWithPassword.spec.ts latest substantive changes are from commit 962608cde0b7ceb8b3e6145eb102c5d56aa9fcd9 ("allow signing in as non-admin users in e2e tests") by @aslilac. The createUser helper (helpers.ts) is in the Users UI flow; recent Users-related changes also come from @aslilac (commit 162acaf8bfbfe82c1b751a46f3d0908d4061e895, "update UsersPage role editing").

Reproduction

Unknown; intermittent.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions