Skip to content

Flaky tests in tests/e2e/onboarding.test.ts #931

@nichtsam

Description

@nichtsam

Tests inside tests/e2e/onboarding.test.ts seems to randomly fail, but succeed when ran individually.

potential Issues:

  • Some tests check for pending state of status button, might fail if the pending state ends before it's tested.
  • Some tests fail because click actions did not change states, as far as I seen only on radix checkboxes.
  • Some tests fail because the msw mock github handlers aren't returning the inserted ghUser, causing mismatch and notfound.

I've recorded a short video to demonstrate the issue.
In the first run you can see that the user email doesn't match, in some other the user doesn't exist while it should have.

2025-02-1512.49.47-ezgif.com-video-cutter.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions