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: [M3-6472] - [Marketplace] One Click Cluster - UDF Caching issue #8997

Merged
merged 5 commits into from
Apr 17, 2023

Conversation

cpathipa
Copy link
Contributor

Description 📝

  • Fixes UDF caching issue for OCA apps.
  • Refactor UserDefinedSelect component to functional
  • Unit test coverage for UserDefinedSelect

Preview 📷

Remove this section or include a screenshot or screen recording of the change

How to test 🧪

What are the steps to reproduce the issue or verify the changes?

  • Navigate to marketplace
  • Switch OCA apps to check UDF fields (switch between mango cluster and Redis)
  • Validate respective UDFs are rendering. (Checkout screen capture attached in the ticket)

How do I run relevant unit or e2e tests?

  • yarn test
  • yarn cy:run

@cpathipa cpathipa self-assigned this Apr 12, 2023
@cpathipa cpathipa added the Unit tests Improves unit test coverage label Apr 12, 2023

const styled = withStyles(styles);

export default styled(RenderGuard<CombinedProps>(UserDefinedSelect));
export default styled(UserDefinedSelect);
Copy link
Member

Choose a reason for hiding this comment

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

Can we switch to a useStyles hook?

Copy link
Member

@bnussman-akamai bnussman-akamai left a comment

Choose a reason for hiding this comment

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

UDFs are updating as I would expect 🚀


export default styled(RenderGuard<CombinedProps>(UserDefinedSelect));
export default UserDefinedSelect;
Copy link
Member

Choose a reason for hiding this comment

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

Consider removing default export

cpathipa and others added 2 commits April 13, 2023 11:44
…nel/FieldTypes/UserDefinedSelect.tsx

Co-authored-by: Banks Nussman <115251059+bnussman-akamai@users.noreply.github.com>
@cpathipa cpathipa added the Add'tl Approval Needed Waiting on another approval! label Apr 13, 2023
@bnussman-akamai bnussman-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! Ready for Review labels Apr 14, 2023
@mjac0bs
Copy link
Contributor

mjac0bs commented Apr 14, 2023

@cpathipa Can we add a changelog entry before merging? Thanks!

@cypress
Copy link

cypress bot commented Apr 14, 2023

1 failed and 2 flaky tests on run #2983 ↗︎

1 145 3 0 Flakiness 2

Details:

Update CHANGELOG.md
Project: Cloud Manager E2E Commit: 9fa1d0a877
Status: Failed Duration: 15:11 💡
Started: Apr 14, 2023 6:47 PM Ended: Apr 14, 2023 7:02 PM
Failed  cypress/e2e/general/smoke-deep-link.spec.ts • 1 failed test

View Output Video

Test Artifacts
smoke - deep link > Go to Profile/Display > by Tab Output Screenshots Video
Flakiness  objectStorage/object-storage.e2e.spec.ts • 1 flaky test

View Output Video

Test Artifacts
object storage end-to-end tests > can upload, access, and delete objects Output Screenshots Video
Flakiness  account/sms-verification.spec.ts • 1 flaky test

View Output Video

Test Artifacts
SMS phone verification > can opt into SMS phone verification Output Screenshots Video

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@cpathipa cpathipa merged commit 2e0805a into linode:develop Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Unit tests Improves unit test coverage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants