-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.0rc2 testing (on OSX Catalina / Chrome 90.0.4430.93) #153
Comments
Summary of issues found/encountered. Most of these are minor.
Other observations (not necessarily issues)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test Plan
https://github.com/whole-tale/wt-design-docs/issues/new?template=TEST_PLAN.md
Note: For all tests, repeat for supported browser/OS combinations.
Preconditions:
Splash page
Authentication
NOTE: Post auth re-display of splash page is unexpected.
Navigation
TEST: Minor test case inconsistency re: "report a problem" should be "bug" icon
Tale Dashboard
Preconditions:
Assumes production Tales present (e.g., LIGO, materials, etc).
No running instances
General
TEST: Minor test inconsistency with search for "Ligo" instead of "LIGO"
FAIL: Interact displays by default (known)
TEST: Test case inconsistencies. Step 4 should be Public Tales and step 5.4 should be My Tales
FAIL: Redirected to interact, not metadata on copy on launch
FAIL: Redirected to metadata on view after run (expected interact)
Managing Data
Preconditions
Empty home directory
No registered data
Register General
TEST: Need to correct step for opening search modal
10.5065/D6862DM8
TEST: Need to correct step for opening search modal and titles for additional URLs would be helpful
NOTE: Updated DASHBOARD_URL to point to prod_cn on stage for this to work.
FAIL: whole-tale/girder_wholetale#481
Run Tale
Preconditions:
No running Tale instances
General
TEST: Test case inconsistencies with release
Environment
dropdown menuLicense
dropdownCreated by <your_name>
underAuthors
Published Location
readsThis Tale has not been published
NOTE: Home folder is not present on public tale? Test case should state select owned tale since previous was public
FAIL: Creating folder with duplicate name fails with 500 (whole-tale/virtual_resources#14?)
TEST: File operations test could use some details
doi:10.18739/A29G5GD0V
)FAIL: 500 on create duplicate folder name (whole-tale/virtual_resources#14)
NOTE: Downloaded folder contains files but not folder (expected Girder behavior, but possibly note in test case)
NOTE: Select Data workspace sorted by ? Not Tale Title
FAIL: Copy from tale workspace requires manual refresh
Settings
NOTE: API Key link does not provide documentation. Consider adding docs describing what to do to. I think a general RTD link for all repos would suffice.
FAIL: Sandox.zenodo.org repo "Get from links to zenodo.org
NOTE: Stage has dev2.dataverse.org listed
FAIL: DataONE auth fails, results in empty key
#370
/user/me
endpoint to confirm tokens are still presentTale Creation
TODO: Needs rebuild test case
NOTE: Need to decide what to do about different RStudio versions
multiplicative_arima_example.m
, confirm outputsmultiplicative_arima_example.ipynb
, confirm outputs matchmultiplicative_arima_example.html
example.do
, confirm outputsexample.ipynb
, confirm outputs matchexample.html
TEST: Revise test case
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"
Input data
section matches the uri withData Source
appendedCreate New Tale
button is disabledCreate New Tale
science
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 widgetCreate New Tale
button is enabledCreate New Tale
science
The
Analyze in Whole Tale
feature is deployed across a few DataONE test sites. This test ensures Whole Tale has the ability to importdata from each of them.
Links:
Testing Steps:
Create 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.
This 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
appendedCreate New Tale
button is disabledCreate New Tale
FAIL: Tale title is blank
This test covers the case where a user imports data from an external source and selects READ/WRITE in the Create Tale Modal.
Testing Steps (Variant 1):
Selected data
section matches the uri withData Source
appendedCreate New Tale
button is disabledREAD/WRITE
Create New Tale
FAIL: Tale title is blank
Testing Steps (Variant 2):
Selected data
section matches the uri withData Source
appendedCreate New Tale
button is disabledREAD/WRITE
Create 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.
manifest.json
file undermetadata/
schema:author
createdBy
aggregates
aggregates
Datasets
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
Publishing tests
Case 1: No Accounts Configured
Publish tale...
Go to Settings
[] Case 2: Publishing to a Third Party
Publish tale...
Publish
metadata.xml
LICENSE
README.md
manifest.json
environment.json
a. After publishing to DataONE, use girder to query the Tale
b. Ensure that the 'pid' field in the 'publishInfo' object has an identifier in a doi format
FAIL: Can't publish to DataONE
Published Location
in Run > metadataPublished Location
has changed to the correct package landing pageNOTE: Tested for Zenodo
Zenodo 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
The 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, uriFAILS: Bokeh
run-local.sh
command to run the Tale locallyVersioning 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 expectedFAIL: "This Tale was updated by another user." popup on unshared tale
Git Integration Tests
Create Tale from Git Repository
optionworkspace/
rootOther tests
Datasets Used
citations and related identifiers are updatedEvent Notification Tests
FAIL: Fields do not update for user2 (only displayed title, not field)
Vocabulary Tests
Forward Authentication Test
Changing the Environment
FAIL: Restart after rebuild fails with:
The text was updated successfully, but these errors were encountered: