Flaky tests: Launchpad: Setup Project (project-setup.cy.ts) #29486
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
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.
In these situations, when comparing a passing and failing Test Replay, you can see one critical difference.
POST /__launchpad/graphql/query-MainLaunchpadQuery
hasdata.currentProject.isCTConfigured
ordata.currentProject.isE@EConfigured
astrue
(depending on the testing flow you were testing.POST /__launchpad/graphql/query-MainLaunchpadQuery
hasdata.currentProject.isCTConfigured
anddata.currentProject.isE@EConfigured
as bothfalse
.Passes
Fails
The Launchpad is not coded to expect a situation where the 'currentTestingType' shows a specific testing type, yet the
isE2EConfigured
orisCTConfigured
is nottrue
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
The text was updated successfully, but these errors were encountered: