-
Notifications
You must be signed in to change notification settings - Fork 118
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 Flaky Dashboards Visualization Tests #1187
Conversation
Signed-off-by: Sean Li <lnse@amazon.com>
beforeEach(() => { | ||
CURRENT_TENANT.newTenant = 'private'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason we switch to a private tenant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, switched over to global
but it looks like the popup still stays there on the first test Create and saves a gantt chart
. @SuZhou-Joe, any ideas on why the popup still shows up even after setting the tenant, and only on the first test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not familiar with the tenant popup either. @kavilla Do you know how to hide the tenant popup?
cypress/integration/plugins/gantt-chart-dashboards/gantt_ui.spec.js
Outdated
Show resolved
Hide resolved
|
Signed-off-by: Sean Li <lnse@amazon.com>
Yup, need to get this backported to |
Signed-off-by: Sean Li <lnse@amazon.com>
Signed-off-by: Sean Li <lnse@amazon.com>
@sejli I rebase the branch but the gant cases still failed. Could you please share the result in your local env? |
Sure, here's a the video from my latest run. I'm running with the latest
gantt_ui.spec.js.mp4 |
I switched to |
* fixing gantt chart flaky tests Signed-off-by: Sean Li <lnse@amazon.com> * removing comments Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant in before hook Signed-off-by: Sean Li <lnse@amazon.com> --------- Signed-off-by: Sean Li <lnse@amazon.com> (cherry picked from commit 4faa0c9)
* fixing gantt chart flaky tests Signed-off-by: Sean Li <lnse@amazon.com> * removing comments Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant in before hook Signed-off-by: Sean Li <lnse@amazon.com> --------- Signed-off-by: Sean Li <lnse@amazon.com> (cherry picked from commit 4faa0c9)
Yes, that was the original issue I kept bringing up here and here
|
* fixing gantt chart flaky tests Signed-off-by: Sean Li <lnse@amazon.com> * removing comments Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant in before hook Signed-off-by: Sean Li <lnse@amazon.com> --------- Signed-off-by: Sean Li <lnse@amazon.com> (cherry picked from commit 4faa0c9) Co-authored-by: Sean Li <lnse@amazon.com>
* fixing gantt chart flaky tests Signed-off-by: Sean Li <lnse@amazon.com> * removing comments Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant in before hook Signed-off-by: Sean Li <lnse@amazon.com> --------- Signed-off-by: Sean Li <lnse@amazon.com> (cherry picked from commit 4faa0c9) Co-authored-by: Sean Li <lnse@amazon.com>
* fixing gantt chart flaky tests Signed-off-by: Sean Li <lnse@amazon.com> * removing comments Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant Signed-off-by: Sean Li <lnse@amazon.com> * try global tenant in before hook Signed-off-by: Sean Li <lnse@amazon.com> --------- Signed-off-by: Sean Li <lnse@amazon.com>
Description
Refactor
dashboards-visualization
flaky testsIssues Resolved
#354
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.