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

chore: remove flaky test #30395

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

eschutho
Copy link
Member

SUMMARY

Continuing to debug the flaky cypress issues.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@pull-request-size pull-request-size bot added size/L and removed size/M labels Sep 25, 2024
@eschutho eschutho force-pushed the elizabeth/remove-flaky-tests branch 2 times, most recently from 329dbce to 8cbc62f Compare September 25, 2024 22:13
@@ -312,15 +312,15 @@ describe('Native filters', () => {
});

describe('Nativefilters initial state not required', () => {
Copy link
Member

Choose a reason for hiding this comment

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

instead of skipping each test, i believe if you did a describe.skip() you'll skip all tests in the describe block

@@ -81,7 +81,7 @@ describe('Horizontal FilterBar', () => {
setFilterBarOrientation('vertical');
});

it('should show all default actions in horizontal mode', () => {
it.skip('should show all default actions in horizontal mode', () => {
Copy link
Member

Choose a reason for hiding this comment

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

instead of doing all the skips here and below, you can just do it.only and it'll only run that test above. You can probably put a note after that test to list out why you're skipping all these other tests

);
});
});
// describe('No Results', () => {
Copy link
Member

Choose a reason for hiding this comment

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

you can do a describe.skip here to skip all these tests

@sadpandajoe
Copy link
Member

one thing, if we're skipping tests, we should probably add a comment in the file to see why we are skipping all these tests.

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Sep 26, 2024
@pull-request-size pull-request-size bot added size/L and removed size/M labels Sep 26, 2024
@eschutho eschutho force-pushed the elizabeth/remove-flaky-tests branch 2 times, most recently from faf3ab4 to 0eda181 Compare September 26, 2024 01:09
@github-actions github-actions bot removed the github_actions Pull requests that update GitHub Actions code label Sep 26, 2024
@pull-request-size pull-request-size bot added size/L and removed size/M labels Sep 26, 2024
@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Sep 26, 2024
-v "$GITHUB_WORKSPACE/superset-frontend/cypress-base:/e2e" \
-w /e2e \
cypress/browsers:node-20.16.0-chrome-127.0.6533.119-1 \
npx cypress run --browser chrome $USE_DASHBOARD_FLAG
Copy link
Member

Choose a reason for hiding this comment

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

I think that mean means no parallelism, guessing you're not meaning to merge this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code review:draft size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants