Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flaky tests: Launchpad: Setup Project (project-setup.cy.ts) #29486

Open
jennifer-shehane opened this issue May 7, 2024 · 0 comments
Open

Flaky tests: Launchpad: Setup Project (project-setup.cy.ts) #29486

jennifer-shehane opened this issue May 7, 2024 · 0 comments
Assignees
Labels
process: flaky test Related to test(s) that have flake in our internal tests type: chore Work is required w/ no deliverable to end user

Comments

@jennifer-shehane
Copy link
Member

jennifer-shehane commented May 7, 2024

What would you like?

We have some tests that continues the flakiest tests in our suite. You can see examples of this in several tests:

It will most often exhibit as a loading spinner never going away after opening a project and visiting the launchpad, when the tests specifically are testing a flow where e2e or ct tests have already been chosen and configured.

expected <svg.spinner> not to exist in the DOM

Screenshot 2024-05-07 at 3 49 42 PM

In these situations, when comparing a passing and failing Test Replay, you can see one critical difference.

  • When this test passes, the response body of POST /__launchpad/graphql/query-MainLaunchpadQuery has data.currentProject.isCTConfigured or data.currentProject.isE@EConfigured as true (depending on the testing flow you were testing.
  • When this test fails, the response body of POST /__launchpad/graphql/query-MainLaunchpadQuery has data.currentProject.isCTConfigured and data.currentProject.isE@EConfigured as both false.

Passes
Screenshot 2024-05-07 at 3 54 05 PM

Fails
Screenshot 2024-05-07 at 3 51 20 PM

The Launchpad is not coded to expect a situation where the 'currentTestingType' shows a specific testing type, yet the isE2EConfigured or isCTConfigured is not true as it should be, so it just sits forever in this loading state.

I was unable to determine if this was an issue with how we mock our data for the tests or an actual issue in our App. This needs to be investigated.

Why is this needed?

No response

Other

No response

@jennifer-shehane jennifer-shehane added process: flaky test Related to test(s) that have flake in our internal tests type: chore Work is required w/ no deliverable to end user labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process: flaky test Related to test(s) that have flake in our internal tests type: chore Work is required w/ no deliverable to end user
Projects
None yet
Development

No branches or pull requests

2 participants