Skip to content

Commit 3dcd090

Browse files
committed
Point black-box tests at new Sampledata folder
1 parent dadb7f8 commit 3dcd090

6 files changed

+14
-14
lines changed

features/black_box/checksum.feature

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
Feature: Alma wants to verify checksums transmitted with a transfer to ensure that the transfer contents haven't been corrupted.
33

44
Scenario: External metadata checksums are verified
5-
Given a "standard" transfer type located in "SampleTransfers/DemoTransferCSV"
5+
Given a "standard" transfer type located in "amauat-automated-acceptance-tests/standard-transfer/DemoTransferCSV"
66
When the transfer compliance is verified
77
Then the "Verify metadata directory checksums" job completes successfully
88

99
Scenario: External metadata checksums are not verified
10-
Given a "standard" transfer type located in "TestTransfers/fixityCheckShouldFail"
10+
Given a "standard" transfer type located in "amauat-automated-acceptance-tests/standard-transfer/fixityCheckShouldFail"
1111
When the transfer compliance is verified
1212
Then the "Verify metadata directory checksums" job fails
1313
And the "Failed transfer" microservice is executed

features/black_box/create-aip.feature

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Alma wants to be able to create AIPs from all of Archivematica's different trans
66
Background: The storage service is configured with a transfer source that can see the archivematica-sampledata repository.
77

88
Scenario: Generate an AIP using a standard transfer workflow
9-
Given a "standard" transfer type located in "SampleTransfers/DemoTransferCSV"
9+
Given a "standard" transfer type located in "amauat-automated-acceptance-tests/standard-transfer/DemoTransferCSV"
1010
When the AIP is downloaded
1111
Then the AIP METS can be accessed and parsed by mets-reader-writer
1212
And the AIP conforms to expected content and structure
@@ -20,13 +20,13 @@ Background: The storage service is configured with a transfer source that can se
2020
And every PREMIS event recorded in the AIP METS records the logged-in user, the organization and the software as PREMIS agents
2121

2222
Scenario: Generate an AIP using an unzipped bag transfer workflow
23-
Given a "unzipped bag" transfer type located in "SampleTransfers/BagTransfer"
23+
Given a "unzipped bag" transfer type located in "amauat-automated-acceptance-tests/bagit/BagTransfer"
2424
When the transfer is approved
2525
Then the "Verify bag, and restructure for compliance" job completes successfully
2626
And there is a sourceMD containing a BagIt mdWrap in the AIP METS
2727

2828
Scenario: Generate an AIP using a Dataverse workflow
29-
Given a "dataverse" transfer type located in "SampleTransfers/Dataverse/NDSAStaffingReport"
29+
Given a "dataverse" transfer type located in "amauat-automated-acceptance-tests/Dataverse/NDSAStaffingReport"
3030
When the AIP is downloaded
3131
Then the "Set convert Dataverse structure flag" job completes successfully
3232
And the "Set parse Dataverse METS flag" job completes successfully

features/black_box/extract-package.feature

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Feature: Alma wants package files included in the transfer to be extracted.
33

44
Scenario: packages are extracted successfully
5-
Given a "standard" transfer type located in "SampleTransfers/OfficeDocs"
5+
Given a "standard" transfer type located in "amauat-automated-acceptance-tests/standard-transfer/OfficeDocs"
66
When the transfer compliance is verified
77
Then the "Extract contents from compressed archives" job completes successfully
88
And the "Sanitize extracted objects' file and directory names" job completes successfully
@@ -12,7 +12,7 @@ Feature: Alma wants package files included in the transfer to be extracted.
1212
And the "Determine if transfer still contains packages" job completes successfully
1313

1414
Scenario: packages are not extracted successfully
15-
Given a "standard" transfer type located in "TestTransfers/broken_package_format_types"
15+
Given a "standard" transfer type located in "amauat-automated-acceptance-tests/standard-transfer/broken_package_format_types"
1616
When the transfer compliance is verified
1717
Then the "Extract contents from compressed archives" job fails
1818
And the "Failed transfer" microservice is executed

features/black_box/reingest-aip.feature

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
Feature: Alma wants to be able to re-ingest an AIP and have the reingest recorded accurately in the AIP METS file.
33

44
Scenario: Reingest without error
5-
Given a "standard" transfer type located in "SampleTransfers/DemoTransferCSV" has been reingested
5+
Given a "standard" transfer type located in "amauat-automated-acceptance-tests/standard-transfer/DemoTransferCSV" has been reingested
66
When the reingest has been processed
77
Then the AIP can be successfully stored
88
And there is a reingestion event for each original object in the AIP METS
99
And there is a fileSec for deleted files for objects that were re-normalized
1010
And there is a current and a superseded techMD for each original object
1111

1212
Scenario: Reingest unzipped bag transfer
13-
Given a "unzipped bag" transfer type located in "SampleTransfers/UnzippedBag" has been reingested
13+
Given a "unzipped bag" transfer type located in "amauat-automated-acceptance-tests/bagit/UnzippedBag" has been reingested
1414
When the reingest has been processed
1515
Then the AIP can be successfully stored
1616
And there is a reingestion event for each original object in the AIP METS

features/black_box/transfer-microservices.feature

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ Feature: Alma wants to ensure that PREMIS events are recorded for all preservati
1111
And there are <validated_objects_count> original objects in the AIP METS with a validation event
1212

1313
Examples: sample transfers
14-
| sample_transfer_path | validated_objects_count |
15-
| SampleTransfers/DemoTransferCSV | 2 |
16-
| TestTransfers/badNames | 0 |
14+
| sample_transfer_path | validated_objects_count |
15+
| amauat-automated-acceptance-tests/standard-transfer/DemoTransferCSV | 2 |
16+
| amauat-automated-acceptance-tests/standard-transfer/badNames | 0 |

features/black_box/virus.feature

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
Feature: Alma wants to ensure that virus scanning in Archivematica works correctly to ensure transfers pass when they have no viruses, and transfers fail when they contain viruses.
33

44
Scenario: Virus checks for a transfer pass
5-
Given a "standard" transfer type located in "SampleTransfers/DemoTransferCSV"
5+
Given a "standard" transfer type located in "amauat-automated-acceptance-tests/standard-transfer/DemoTransferCSV"
66
When the transfer compliance is verified
77
Then the "Scan for viruses" job completes successfully
88

99
Scenario: Virus checks for a transfer fail
10-
Given a "standard" transfer type located in "TestTransfers/virusTests"
10+
Given a "standard" transfer type located in "amauat-automated-acceptance-tests/standard-transfer/virusTests"
1111
When the transfer compliance is verified
1212
Then the "Scan for viruses" job fails
1313
And the "Failed transfer" microservice is executed

0 commit comments

Comments
 (0)