From 4bd7f46827f2cfe2e7bc69e899f1c8bf4a01c501 Mon Sep 17 00:00:00 2001 From: "Douglas Cerna (Soy Douglas)" Date: Mon, 29 Apr 2024 23:03:37 +0200 Subject: [PATCH] Test DSpace transfer workflow with multiple exports This converts the DSpace transfer scenario into a scenario outline to test DSpace transfers with individual and multiple exports. --- features/black_box/create-aip.feature | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/features/black_box/create-aip.feature b/features/black_box/create-aip.feature index 70439ad..39bfa33 100644 --- a/features/black_box/create-aip.feature +++ b/features/black_box/create-aip.feature @@ -43,8 +43,8 @@ Background: The storage service is configured with a transfer source that can se And the "Parse Dataverse METS XML" job completes successfully And the METS file contains a dmdSec with DDI metadata - Scenario: Generate an AIP using a Dspace transfer workflow - Given a "dspace" transfer type located in "SampleTransfers/DSpaceExport/ITEM@2429-2700.zip" + Scenario Outline: Generate an AIP using a Dspace transfer workflow + Given a "dspace" transfer type located in "" When the AIP is downloaded Then the "Identify DSpace mets files" job completes successfully And the "Identify DSpace text files" job completes successfully @@ -54,6 +54,11 @@ Background: The storage service is configured with a transfer source that can se And there is a DSpace-specific rights metadata section for each object And the entries in the file section of the METS are sorted by file group + Examples: sample transfers + | sample_transfer_path | + | SampleTransfers/DSpaceExport/ITEM@2429-2700.zip | + | SampleTransfers/DSpaceExport | + Scenario: Generate an AIP using a Zipped directory transfer workflow Given a "zipfile" transfer type located in "SampleTransfers/ZippedDirectoryTransfers/DemoTransferCSV.zip" When the transfer is approved