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

fix(workflow): Catch errors on team insights discover query #29748

Merged
merged 3 commits into from
Nov 4, 2021

Conversation

scttcper
Copy link
Member

@scttcper scttcper commented Nov 3, 2021

Currently if a team has too many projects, it will cause a 502 error. For now, show an error banner.

Copy link
Member

@markstory markstory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eventually will the source of the 502s be fixed?

{context: routerContext}
);

await waitForElementToBeRemoved(screen.queryByTestId('loading-indicator'));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use this instead (and if it fails, then we probably do not need the line at all)

Suggested change
await waitForElementToBeRemoved(screen.queryByTestId('loading-indicator'));
await waitForElementToBeRemoved(screen.getByTestId('loading-indicator'));

@scttcper scttcper enabled auto-merge (squash) November 4, 2021 21:37
@scttcper scttcper merged commit 30d87a6 into master Nov 4, 2021
@scttcper scttcper deleted the scttcper/team-misery-error branch November 4, 2021 21:58
@github-actions github-actions bot locked and limited conversation to collaborators Nov 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants