ANW-1023: Default Top Container values#3732
Conversation
Pull Request Test Coverage Report for Build 21395944292Details
💛 - Coveralls |
thimios
left a comment
There was a problem hiding this comment.
Looks good to me, see also the rubocop complain in: https://github.com/archivesspace/archivesspace/actions/runs/18302822342/job/52113900047?pr=3732
| @@ -48,7 +48,9 @@ | |||
|
|
|||
| wait_for_ajax if current_url.include?("resources/#{@resource_id}/edit") || | |||
There was a problem hiding this comment.
let's remove the whole if line and just wait_for_ajax in any case here
|
Multiple tests are not passing after a conflict resolution with master. I need to investigate this. |
4eba066 to
84699d8
Compare
0ddc24e to
4f79c83
Compare
4f79c83 to
948cbfb
Compare
There was a problem hiding this comment.
@thimios these changes make the Container Profiles default values page consistent with other default value pages.
There was a problem hiding this comment.
@thimios this didn't test what we wanted. It sets the wrong preferences ("Global Prefs" here do not override the "Repository Prefs"), plus it only asserts the prior-unwanted default of "Height".
There was a problem hiding this comment.
@thimios This new test asserts base defaults, then customizes defaults and asserts the new defaults are present when creating a new record.
brianzelip
left a comment
There was a problem hiding this comment.
@thimios I updated the PR a bit for visual consistency and better testing.
Description
Container Profilesdefault values functionalityRequirement for manual testing - Repository Preferences change
To test this manually to ensure that custom Container Profile default values work, the "Pre-populate Records?" checkbox needs to be checked on the Repository Preferences.
Screenshots
Solution showing the new "Edit Default Values" on the Container Profiles index view
Solution showing the new "Container Profiles Default Values" page
Related JIRA Ticket or GitHub Issue
ANW-1023
How Has This Been Tested?
Types of changes
Checklist: