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

refactor(frontend): migrate 6 Enzyme-based tests to RTL, part 2 #30281

Merged

Conversation

hainenber
Copy link
Contributor

@hainenber hainenber commented Sep 14, 2024

refactor(frontend): migrate 6 Enzyme-based tests to RTL, part 2

SUMMARY

Remove an unused function and associated tests found when conducting Enzyme-to-RTL migration.

Also migrated a few Enzyme tests to RTL.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A

TESTING INSTRUCTIONS

GH checks with flying colors! :D

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

@dosubot dosubot bot added the change:frontend Requires changing the frontend label Sep 14, 2024
…ableRenderer.test.tsx to RTL

Signed-off-by: hainenber <[email protected]>
…sed AdhocFilterEditPopoverSimpleTabContent.test.tsx to RTL

Signed-off-by: hainenber <[email protected]>
@hainenber hainenber changed the title chore(fe): remove unused withAsyncVerification and associated test feat(frontend): migrate Enzyme-based tests to RTL, part 2 Sep 14, 2024
@hainenber hainenber changed the title feat(frontend): migrate Enzyme-based tests to RTL, part 2 feat(frontend): migrate 3 Enzyme-based tests to RTL, part 2 Sep 14, 2024
@hainenber hainenber changed the title feat(frontend): migrate 3 Enzyme-based tests to RTL, part 2 feat(frontend): migrate 5 Enzyme-based tests to RTL, part 2 Sep 15, 2024
@hainenber hainenber changed the title feat(frontend): migrate 5 Enzyme-based tests to RTL, part 2 refactor(frontend): migrate 5 Enzyme-based tests to RTL, part 2 Sep 15, 2024
…me-based DatasourceControl.test.jsx to RTL

Signed-off-by: hainenber <[email protected]>
@hainenber hainenber changed the title refactor(frontend): migrate 5 Enzyme-based tests to RTL, part 2 refactor(frontend): migrate 6 Enzyme-based tests to RTL, part 2 Sep 15, 2024
Copy link
Member

@justinpark justinpark left a comment

Choose a reason for hiding this comment

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

withAsyncVerification is being used as a custom override logic. Please exclude it from deletion

@hainenber
Copy link
Contributor Author

withAsyncVerification is being used as a custom override logic. Please exclude it from deletion

Got it. I've reverted its deletion.

Copy link
Member

@mistercrunch mistercrunch left a comment

Choose a reason for hiding this comment

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

LGTM!

@mistercrunch
Copy link
Member

@justinpark , mind lifting the hold around your requested changes?

@hainenber
Copy link
Contributor Author

hello fellas, anything I can do to have this merged? I'm about to have part 3 now :D

@rusackas
Copy link
Member

rusackas commented Oct 1, 2024

Pinging @justinpark on Slack... hopefully we can get this through :D

@rusackas rusackas merged commit da7a74e into apache:master Oct 1, 2024
36 checks passed
@hainenber hainenber deleted the remove-unused-async-verification-wrapper branch October 2, 2024 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:frontend Requires changing the frontend packages size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants