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

Enhancement: add Tests for new Processing Config selection feature. #27

Open
peterVG opened this issue May 6, 2020 · 2 comments
Open

Comments

@peterVG
Copy link
Collaborator

peterVG commented May 6, 2020

See archivematica/Issues#1166 added as a feature in AM 1.12.

Feature: Select processing configuration at the start of a Transfer
Scenario: The user is about to process a Transfer in Archivematica but she wants to change the decision point settings she has been using previously by selecting an alternate processing configuration file.
Given: That the “default”, “automated” and any additional, custom processing configuration files are saved in the Archivematica Administration tab.
And: The “default” processing configuration is set as the default option.
When: She selects an alternate processing configuration file from a drop-down select box in the Transfer tab (e.g. “my_custom_processing_config_1”)
Then: The Transfer and Ingest processing will follow the decisions set out in the newly selected processing configuration file, rather than the “default” processing configuration.
And: The user will receive a pop-up notification indicating that the Transfer has started with the selected processing configuration.
And: The “default” processing configuration will be reset as the default option the next time a Transfer is started.

A secondary test for this feature:

Feature: Use custom processing configuration file in Transfer
Scenario: The user is about to process a Transfer in Archivematica but she wants to change the decision point settings she has been using previously by inserting an alternate processing configuration file she has created and downloaded using the Administration - Processing Configuration menu.
Given: That the user has downloaded the processing configuration file called "custom3" from the Administration Dashboard menu.
And: She has renamed it to "processingMCP.xml" and inserted it at the top-level of the Transfer she is going to process.
When: She selects an alternate processing configuration file from a drop-down select box in the Transfer tab (e.g. “custom1")
Then: The options in the processingMCP.xml file will take precedence and the Transfer and Ingest processing will follow the decisions set out in the "custom3" processingMCP.xml configuration file, rather than the “custom1” processing configuration settings.

@sallain
Copy link
Member

sallain commented Jul 28, 2020

@peterVG If you could add a test for this before the end of August that would be great!

@peterVG
Copy link
Collaborator Author

peterVG commented Aug 20, 2020

Done. PR submitted. See 3f563c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants