-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[frontend] Flaky tests in CompareV2 resulting in false failures in PRs #10811
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/remove-lifecycle stale |
/assign |
…flow#10811 Signed-off-by: Elay Aharoni (EXT-Nokia) <[email protected]>
tried to reproduce the flaky tests with no success. might be not-reproduceable |
Tests in CompareV2.test.tsx seem to be very Flaky, and keep resulting in random failures in PRs, I constantly have to re-run these tests to get it fully passing. Some examples of failure errors I've seen:
failures.1
failures.2
● CompareV2 › Parameters and Scalar metrics tab initially enabled with loading then error, and switch tabs Unable to find an element with the text: An error is preventing the Scalar Metrics from being displayed.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. <body> .... OMITTED .... 426 | screen.getByText('There are no Parameters available on the selected runs.'); 427 | screen.getByText('An error is preventing the Scalar Metrics from being displayed.'); 428 | at waitForWrapper (node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:173:27) at Object.<anonymous> (src/pages/CompareV2.test.tsx:425:18)
Examples:
Love this idea? Give it a 👍.
The text was updated successfully, but these errors were encountered: