You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm that you are taken to the /public panel as a logged in user. All features for signed-in users should be functional (My Tales, Shared Tales, Create Tale, etc).
Logout, confirm "#" button appears and only "Public Tales" is accessible
Open a public tale (e.g., LIGO)
Select "#", confirm that you are accessing the tale as a signed-in user
Logout, confirm that you are accessing the tale as an unauthenticated user
Confirm auth providers
Select "#" button
Select "Access Whole Tale" button. You should be prompted to login via Globus Auth.
Confirm institutional login
Confirm Google login
Confirm ORCID login
Basic logout flow
As an authenticated user, select the "User" menu
Select the "Log out" menu item. You should be taken to the Public Tales catalog.
Select "#"
Note that you are not prompted to login to Globus again
On "Public Tales", click "Run" on LIGO tale (Copy on Launch)
Select "Run Tale" to start the instance
Confirm you are redirected to the Run page
Confirm that the Run panel displays the Tale image, title, and author
Confirm that the Run page displays the Interact, Files, Metadata and Share tabs
Confirm that Interact tab is displayed by default
Confirm notification panel displays and progression is correct
Select the "..." menu.
Confirm that menu options exist for "Rebuild Tale", "Restart Tale", "Save Tale Version", "Recorded Run", "Duplicate Tale", "Publish Tale", "Export Tale", "Connect to Git Repository..."
The purpose of these tests are to confirm that the metadata files (manifest.json, environment.json, LICENSE) we generate are correct.
manifest.json
Launch a Tale that you own
Add a dataset to the Tale
Add at least one author
Add at least one file to the workspace
Create a version
Export the Tale (as BagIt)
Open the manifest.json file under metadata/
Confirm wt context present
Confirm @id references the correct Tale ID
Confirm that the author is listed under schema:author
Confirm that you are listed under createdBy
Confirm that the file(s) in the workspace are properly listed in aggregates
Confirm that the external dataset is referenced in aggregates
Confirm that the dataset is also listed under wt:usesDataset
Confirm dct:hasVersion is present and matches your created version
Optionally confirm rdflib can parse:
from rdflib import Graph
import urllib.parse
urllib.parse.uses_relative.append('arcp')
urllib.parse.uses_netloc.append('arcp')
g = Graph().parse(source="manifest.json", format="json-ld")
print(g.serialize(format='turtle', indent=2).decode())
environment.json
Open the archive from the manifest.json test
Navigate to metadata/environment.json
Open the girder web API
Locate and GET the Image that the Tale used
Confirm that the config section from girder matches the config section in environment.json
LICENSE
Open the archive from the manifest.json test
Open the LICENSE file
Navigate to Run > metadata
Confirm that the opened LICENSE file matches the selected license on the metadata page
Change the Tale's license
Export the Tale
Confirm that the LICENSE changed appropriately
Tale 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.
Case 1: Sharing with 'Can View' permissions
Create a new Tale
Add data to the workspace and add at least one dataset
Navigate to the 'Share' tab
Share the Tale with User B
Confirm that the default permission is 'Can View'
Switch the account to User B
Navigate to the 'Shared with Me' tab on the Browse page
Confirm that you see the Tale from step 1
Confirm that you can't edit the Workspace, External Data, or metadata
Unshare tale with User B
Note modal displays that tale has been unshared.
Case 2: Sharing with 'Can Edit' permissions
Create a new Tale
Add data to the workspace and add at least one dataset
Navigate to the 'Share' tab
Share the Tale with User B
Set the permissions to 'Can Edit'
Switch the account to User B
Navigate to the 'Shared with Me' tab on the Browse page
Confirm that you see the Tale from step 1
Remove one of the files from the Workspace
Add a dataset to External Data
Change a field in the metadata (title, description, etc)
Switch to User A
Confirm that the changes made to the Tale persisted
Case 3: Edit sync modal
Login as User A and User B in separate browser sessions
As User B, select "Shared with me"
As User A, share a tale with User B; as User B confirm the tale appears
As User B, select "View" on the shared tale
As User A and B edit the tale metadata
As User A change title, author, category, description; save changes
As User B confirm Tale edited modal, select Yes, confirm updates to metadata
Publishing tests
Case 1: No Accounts Configured
Disconnect all of your external accounts
Open a Tale that you own
Click the ellipsis dropdown on the Run page
Click Publish tale...
Confirm that your are notified to link accounts on the settings page
Click Go to Settings
Confirm you are re-directed to settings
Case 2: Publishing to DataONE
Connect to DataONE (dev server)
Open a Tale that you own
Add some data to it
Click Publish tale...
Confirm that the publishing modal opens
Confirm that the third party that you are connected to appears in the dropdown
Select the third party
Click Publish
Once complete, navigate to the metadata page
Confirm that the published location is present
Visit the published location
Confirm that you see the following files plus yours
metadata.xml
LICENSE
README.md
manifest.json
environment.json
After publishing to DataONE, use girder to query the Tale
Ensure that the 'pid' field in the 'publishInfo' object has an identifier in a doi format
Case 3: Re-publish Tale to DataONE
Launch a Tale that has been published before
Take note of the Published Location in Run > metadata
Re-publish the Tale to the third party
Confirm that the Published Location has changed to the correct package landing page
Zenodo integration tests
Register Zenodo data
On a new or existing tale, select "Files" > "External Data"
Select "+" > "Web (DOI or URL)"
Search for Concept DOI doi:10.5281/zenodo.16384
Confirm "Belmont Forum..." dataset is found on Zenodo with suffix ver_1
Search for URL https://zenodo.org/record/1172960#.XidIvlNKh24
Confirm "Belmont Forum..." dataset is found on Zenodo with suffix ver_2
Search for DOI doi:10.5281/zenodo.1172960
Confirm "Belmont Forum..." dataset is found on Zenodo with suffix ver_2
Search for Concept DOI doi:10.5281/zenodo.608984
Confirm "Belmont Forum..." dataset is found on Zenodo with suffix ver_2
Select Register
Select "+" > "WT Data Catalog"
Add "Belmot Forum..." dataset to Tale
Run Tale and confirm contents on file system match Zenodo
Test Plan
Test plan walkthrough on Staging
End-to-End Test
sh run.sh
, confirm no errorsrun.sh
, confirm SUCCESSrun.sh
, confirm SUCCESSsh run-local.sh
and access the interactive environmentsh run.sh
, confirm no errorsUnauthenticated access
Signing in
Navigation
Tale Dashboard
Preconditions:
Authenticated user
Assumes production Tales present (e.g., LIGO, Materials, etc).
No running instances
General
Managing Data
Preconditions
Empty home directory
No registered data
Register General
10.5065/D6862DM8
Run Tale
Preconditions:
No running Tale instances
General
Published Location
readsThis Tale has not been published
Environment
dropdown menuLicense
dropdown (CC4 and CC0)doi:10.18739/A29G5GD0V
)pip install bdbag
andbdbag --validate full .
Versions
init
modified
init
- you should see no datasetsmodified
Version tosomething else
something else
- you should see the dataset you added../versions
in-container and that the contents including metadata are as expectedRecorded Runs
Settings
#370
/user/me
endpoint to confirm tokens are still presentTale Creation
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 match `example.htmlAnalyze 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
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 widgetCreate New Tale
button is enabledCreate New Tale
science
Selected data
section matches the uri withData Source
appendedCreate New Tale
button is disabledREAD/WRITE
Create New Tale
Import from DataONE: alternate sites
Create New Tale
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:metadata/environment.json
config
section from girder matches theconfig
section inenvironment.json
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.
Case 1: Sharing with 'Can View' permissions
Case 2: Sharing with 'Can Edit' permissions
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
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
publishInfo
field on the tale object contains pid, repository, repository_id, urirun-local.sh
command to run the Tale locallyGit Integration Tests
Covered by other tests
Create Tale from Git Repository
optionworkspace/
rootOther tests
Datasets Used
citations and related identifiers are updatedEvent Notification Tests
Vocabulary Tests
Forward Authentication Test
Changing the Environment
Idle Instances
Upload folder
Advanced settings
Create Tale from DOI
New test cases
runtime.txt
runtime.txt
match your Globus account email for this to work.
docker manifest inspect <image from run-local.sh>
confirmno such manifest
sh run-local.sh
, confirm image buildsexample.do
, confirm outputsrun-infinite.sh
apt.txt
, add packageThe text was updated successfully, but these errors were encountered: