-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
v1.1 preliminary testing #164
Comments
Summary UI issues/comments
Backend issues/comments:
Test plan issues:
Documentation issues:
|
Closing for actual RC testing |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Test Plan
Need to confirm:
Splash page
Authentication
Navigation
Tale Dashboard
Preconditions:
Assumes production Tales present (e.g., LIGO, materials, etc).
No running instances
General
Notes: "No Public Tales have been shared" -- perhaps reword
Search
Notes: Search is case sensitive; search only applies to selected tab; searches only subset of metadata?
View tale
Managing Data
Preconditions
Empty home directory
No registered data
Register General
Trivial: Need to add DERIVA to test plan and list
Register DataONE data
10.5065/D6862DM8
Manage DataWT Data Catalog listADD
Run Tale
Preconditions:
No running Tale instances
General
Notes:
Interact tab
Note: Versions/recorded run missing from test case
Metadata tab - Owned Tale
Published Location
readsThis Tale has not been published
Environment
dropdown menuLicense
dropdown (CC4 and CC0)Issue: Update citation fails if DERIVA dataset selected due to getDatasetUID not implemented Minor updates to BDBag/Deriva girder_wholetale#519
Metadata tab - Non-Owned Tale (e.g., Public LIGO Tale)
Issues:
External data
doi:10.18739/A29G5GD0V
)Notes:
Files - Non-Owned Tale
pip install bdbag
andbdbag --validate full .
Error: [ProfileValidationError] '620bdd87fdbfd274a4e8b0e7: Bag serialization is required but Bag is a directory.'
Settings
Notes: Do we need to update docs to define which capabilities need to be added for a token?
Connect to Dataverse
Notes:
Connect to DataONE
#370
/user/me
endpoint to confirm tokens are still presentTale Creation
Notes:
Create RStudio Tale
multiplicative_arima_example_script.m
, confirm outputsmultiplicative_arima_example_livescript.m
, confirm outputsmultiplicative_arima_example.ipynb
, confirm outputs matchmultiplicative_arima_example.html
multiplicative_arima_example_script.m
, confirm outputsexample.do
, confirm outputsexample.ipynb
, confirm outputs matchexample.html
Analyze in Whole Tale
These test cases cover potential situations that can occur when importing datasets from Dataverse.
Replication Data for: "Agricultural Fires and Health at Birth"
Input data
section matches the uri withData Source
appendedCreate New Tale
button is disabledCreate New Tale
science
Notes:
Test case: category is social science
Import dataset from DataONE: READ-ONLY
Fire influences on forest recovery and associated climate feedbacks in Siberian Larch Forests, Russia
Selected data
section matches the uri withData Source
appendedRstudio (3.5.1)
is selected in the Environments widgetCreate New Tale
button is enabledCreate New Tale
science
Notes:
Import from DataONE: READ-WRITE
Selected data
section matches the uri withData Source
appendedCreate New Tale
button is disabledREAD/WRITE
Create New Tale
Notes:
Import from DataONE: alternate sites
Create New Tale
Notes:
Import from Zipfile
Tale metadata tests
The purpose of these tests are to confirm that the metadata files (manifest.json, environment.json, LICENSE) we generate are correct.
manifest.json
file undermetadata/
wt
context present@id
references the correct Tale IDschema:author
createdBy
aggregates
aggregates
wt:usesDataset
dct:hasVersion
is present and matches your created versionrdflib
can parse:Notes:
Test case:
environment.json
metadata/environment.json
config
section from girder matches theconfig
section inenvironment.json
Notes:
Test case:
LICENSE
LICENSE
fileLICENSE
file matches the selected license on the metadata pageLICENSE
changed appropriatelyTale Sharing Tests
These tests are centered around the feature for sharing Tales with other Whole Tale
users. To run these tests, register at least one other account, referred to as User B.
Notes:
Test case: User B on shared with me tab can confirm notification
User with view permissions cannot create /delete versions or runs
Case 2: Sharing with 'Can Edit' permissions
Notes:
User B can create a recorded run and confirm user a can see results
Case 3: Edit sync modal
Publishing tests
Case 1: No Accounts Configured
Publish tale...
Go to Settings
Case 2: Publishing to DataONE
Publish tale...
Publish
metadata.xml
LICENSE
README.md
manifest.json
environment.json
Notes:
Case 3: Re-publish Tale to DataONE
Published Location
in Run > metadataPublished Location
has changed to the correct package landing pageZenodo integration tests
doi:10.5281/zenodo.16384
ver_1
https://zenodo.org/record/1172960#.XidIvlNKh24
ver_2
doi:10.5281/zenodo.1172960
ver_2
doi:10.5281/zenodo.608984
ver_2
The register tests the following cases.
Datasets with multiple files
Datasets with multiple versions
Concept DOI
Zenodo dataset via AiWT
ls ../data/Auto*
to confirm zipfile is not extractedThe register tests the following cases.
Dataset with single file (zipfile)
Zenodo Binder via AiWT
Notes:
If not logged in, the tale title is still URL encoded (
Simple%20requirements.txt%20based%20example%20for%20repo2docker
). If logged in it isn't.Minor, but do we need to flush logs? Container says exporting image but UI shows lines before.
Zenodo Tale via AiWT
publishInfo
field on the tale object contains pid, repository, repository_id, uriNotes:
Date created and updated are based on import action, not what was imported.
We could add date published to differentiate
Error:
AttributeError: 'DataONEVerificator' object has no attribute 'headers'
Publish/import to/from Zenodo Sandbox
run-local.sh
command to run the Tale locallyNotes:
Versioning Tests
init
modified
init
- you should see no datasetsmodified
Version tosomething else
something else
- you should see the dataset you added../versions
and that the contents including metadata are as expectedGit Integration Tests
Covered by other tests
Create Tale from Git Repository
optionworkspace/
rootNote:
Connect to Git
Other tests
Datasets Used
citations and related identifiers are updatedEvent Notification Tests
Vocabulary Tests
Forward Authentication Test
Changing the Environment
Idle Instances
The text was updated successfully, but these errors were encountered: