Closed ThomasThelen closed 5 years ago
Data
(needs page refresh. Seen with 10.5065/D6862DM8
) (Manage > Register DataONE data)[ ] Read-only Tale
checkboxTale metadata tests
After a Tale fails to launch, the Tale stays in launching state in Launched Tales
(Unrelated to these tests)
Launch LIGO Delete Launched LIGO Re-Launch Notice there is no notification
Launch a Tale Navigate to its Run page Delete the Tale Note that the instance is still embedded in the browser
Launch a Tale Navigate to Files > Home Upload a File Copy File Delete Copied File Note that deleted file is still shown Refresh page Note that it's gone
Upload n files until one fails
Note that the error message along the lines of Not uploaded, error: [object Object]
Analyze in Whole Tale
When creating a Tale via https://girder.stage.wholetale.org/api/v1/integration/dataverse?fileId=3323458&siteUrl=https%3A%2F%2Fdataverse.harvard.edu
, you see the progress bar on the Compose page and the one from the notification system.
They are mostly in sync
This is the Firefox counterpart to #84
Authentication
[x] Basic login flow
[x] Basic logout flow
[x] Return-route for non-logged in users (#300)
Navigation
Browse
Preconditions:
Assumes production Tales present (e.g., LIGO, materials, etc).
No running instances
[x] General
[x] Search
[x] Filter
[x] List and card views
[ ] View tale
[x] Launch instance
BUILDING
Manage
Preconditions
Empty home directory
No registered data
[x] Register General
[x] Register DataONE data
10.5065/D6862DM8
[ ] Dataverse
[x] Globus/MDF
Compose
[x] Compose RStudio Tale
[x] Compose Jupyter Tale
[x] Compose OpenRefine Tale
[x] Too many instances
Run
Preconditions:
No running Tale instances
[x] General
[x] Interact tab
[x] Files tab
[x] Metadata tab - Read Only Tale
[x] Metadata tab - Owned Tale
Environment
dropdown menuLicense
dropdownCreated by <your_name>
underAuthors
Published Location
readsThis Tale has not been published
[x] Home
[x] External data
doi:10.18739/A29G5GD0V
) on Manage > Data (see Manage > Register test cases above)[x] Workspaces
[x] Exporting - ZIP
...
dropdownExport as Zip
LICENSE
README.md
metadata/
metadata
foldermanifest.json
andenvironment.json
file[x] Exporting - BagIt
run-local.sh
tagmanifest-sha256.txt
tagmanifest-md5.txt
manifest-sha256.txt
manifest-md5.txt
bag-info.txt
README.md
bagit.txt
fetch.txt
data/
metadata/
metadata
foldermanifest.json
andenvironment.json
fileLICENSE
file[ ] Read-only Tale
Analyze in Whole Tale
Task 1: Importing a Dataset from Dataverse
These test cases cover potential situations that can occur when importing datasets from Dataverse.
Testing Steps:
Replication Data for: "Agricultural Fires and Health at Birth"
Selected data
section matches the uri withData Source
appendedLaunch New Tale
button is disabledLaunch New Tale
Task 2: Importing a Dataset from DataONE
These test cases cover different scenarios that may happen when importing datasets from DataONE.
This test covers the ideal case where dataset importing has all of the needed information to properly run. This includes the dataset location, title, and selected environment.
Testing Steps:
Fire influences on forest recovery and associated climate feedbacks in Siberian Larch Forests, Russia
Selected data
section matches the uri withData Source
appendedRstudio
is selected in the Environments widgetLaunch New Tale
button is enabledLaunch New Tale
Task 3: Shared Behavior
These cases show errors that are common between Dataverse and DataONE. Although they are tested using DataONE URIs, the errors should be the same when replacing it with a Dataverse URI.
The test covers the case where the dataset location is missing as a query parameter. This query parameter is used to let the UI know that we're importing a dataset/Tale. If it is missing, the default Compose page should be observed.
Testing Steps:
Selected data
section is blankLaunch New Tale
button is disabledThis test covers the case where the name query parameter is missing. The expected behavior is that the uri query parameter is used instead.
Testing Steps:
https://dataverse.harvard.edu/api/access/datafile/3323458
Selected data
section matches the uri withData Source
appendedLaunch New Tale
button is disabledLaunch New Tale
Tale metadata tests
The purpose of these tests are to confirm that the metadata files (manifest.json, environment.json, LICENSE) we generate are correct.
[x] manifest.json
manifest.json
file undermetadata/
schema:author
createdBy
aggregates
aggregates
Datasets
[ ] environment.json
metadata/environment.json
config
section from girder matches theconfig
section inenvironment.json
[x] LICENSE
LICENSE
fileLICENSE
file matches the selected license on the metadata pageLICENSE
changed appropriatelyPublishing tests
[x] Case 1: Un-published Tale
Publish tale...
Continue to DataONE Login
DataONE Development
repositoryPublish
metadata.xml
LICENSE
README.md
manifest.json
environment.json
Data Set Creators
section lists your accountData Set Usage Rights
matches the license on the Tale's Run > metadata pagePublished Location
on the Run > metadata page is correct[x] Case 2: Re-published Tale
Published Location
in Run > metadataPublished Location
has changed to the correct package landing pageRegression tests
[ ] Internal-state problems (#326)
/manage
viewtest123
) and click down into it/manage
viewtest123
folder and close the incognito tab/manage
view of your Home folder[ ] Invalid instance ID (#333)
/run/ThisIsObviouslyNotARealID
/browse
page instead[ ] Files don't overflow Manage page (#410)
[ ] Handle read only Tales (#406)