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(cypress): wait for filterValues request #10884

Merged
merged 1 commit into from
Sep 15, 2020

Conversation

nytai
Copy link
Member

@nytai nytai commented Sep 15, 2020

SUMMARY

Seeing a lot of cypress failures for explore/AdhocFilters test. 🤞 this makes it less flaky.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A

TEST PLAN

ran the cypress check 3 times without failures... seems to be an improvement

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@nytai nytai marked this pull request as ready for review September 15, 2020 04:37
Copy link
Member

@ktmud ktmud left a comment

Choose a reason for hiding this comment

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

LGTM! On a separate note, I'm actually seeing a lot of errors related to Dashboard CRUD view in my personal fork: https://dashboard.cypress.io/projects/ukwxzo/runs/440/failures The fork runs the exactly same code, it just records the runs to Cypress dashboard. Have you seen anything similar before?

@mistercrunch
Copy link
Member

I'm seeing codecov download/uplaod step in cypress trigger :/ Let's get CI back on track!

popeye

@mistercrunch
Copy link
Member

Screen Shot 2020-09-14 at 10 51 34 PM

@nytai nytai merged commit 045335a into apache:master Sep 15, 2020
@nytai nytai deleted the tai/unflake-cypress branch September 15, 2020 16:52
@nytai
Copy link
Member Author

nytai commented Sep 15, 2020

@ktmud Most of the cypress ci failures I've been seeing have been in AdhocFilters test. Have you noticed flakiness in the dashboard CRUD views tests in this repo? Seems quite strange that it would be happening in your fork but not in this repo

@villebro
Copy link
Member

Big thanks @nytai, I was wondering why my one-liner doc PR was failing miserably on CI 😄

@ktmud
Copy link
Member

ktmud commented Sep 15, 2020

@nytai Yeah, it's really strange that it only fails in my fork but it shouldn't really matter if it's not happening for everyone else.

Although I was still seeing AdhocFilters failing after rebasing to this fix: https://github.com/apache/incubator-superset/pull/10837/checks?check_run_id=1119508451

So I made another attempt to fix it: 4477fdd

Based on my previous experience, there seems to be some flakiness related to cy.get(...).within(...) so I removed the within calls. I remember reading somewhere in Cypress it's always better to re-select the element other than relying on within but I couldn't find the link.

@nytai
Copy link
Member Author

nytai commented Sep 15, 2020

Yup.... also got a random failure for the dashboard/list_view.test.ts on https://github.com/apache/incubator-superset/pull/10892/checks?check_run_id=1119843982 seems there's still quite a bit of flakiness in the suite.

auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.38.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/XS 🚢 0.38.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants