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

EES-5545 Cleanup for ReleaseDataUploadsSection #5569

Merged
merged 3 commits into from
Feb 3, 2025
Merged

EES-5545 Cleanup for ReleaseDataUploadsSection #5569

merged 3 commits into from
Feb 3, 2025

Conversation

ntsim
Copy link
Collaborator

@ntsim ntsim commented Jan 30, 2025

This PR performs some cleanup in preparation for a second PR for EES-5545 (#5571):

  • Memoize callbacks in ReleaseDataUploadsSection
  • Extract DeleteDataFileModal into its own component to stop it cluttering up ReleaseDataUploadsSection
  • Clean up ReleaseDataUploadsSection tests:
    • Fixing inefficient waitFor blocks using getByRole selectors
    • Replacing waitFor blocks with findBy* selectors
    • Reorganising various assertions
    • Removing getTableRow as it assumes a single table (there will be two tables in the next PR)

@ntsim ntsim changed the title Ees 5545 cleanup EES-5545 Cleanup for ReleaseDataUploadsSection Jan 30, 2025
Copy link
Collaborator

@bennettstuart bennettstuart left a comment

Choose a reason for hiding this comment

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

LGTM

ntsim added 3 commits February 3, 2025 17:01
EES-5545 Move delete file plan modal into separate component
- Fixes incorrect uses of `waitFor`
- Swaps `waitFor` uses with `findByText`
- Various other cleanup
@ntsim ntsim merged commit 11c226b into dev Feb 3, 2025
10 checks passed
@ntsim ntsim deleted the ees-5545-cleanup branch February 3, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants