Skip to content

Commit

Permalink
add dataverse 5.6, 5.7 and 4.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
skasberger committed Jun 11, 2022
1 parent c9cf78b commit e479197
Show file tree
Hide file tree
Showing 19 changed files with 1,135 additions and 1,059 deletions.
27 changes: 27 additions & 0 deletions configs/default/dataverse_4-18-1/xpaths.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"navbar-user-display-info-title": "//span[@id='userDisplayInfoTitle']",
"login-username-email-input": "//input[@id='loginForm:credentialsContainer:0:credValue']",
"login-password-input": "//input[@id='loginForm:credentialsContainer:1:sCredValue']",
"login-button-login": "//button[@id='loginForm:login']",
"login-button-login-normal": "//*[text()='Username/Email']",
"login-institution-select": "//select[@id='idpSelectSelector']",
"login-institution-select-button": "//input[@id='idpSelectListButton']",
"register-div-terms-of-use": "//div[@id='terms-agreement-block']",
"search-navbar-link": "//ul[contains(@class, 'navbar-nav')]/li/a[text()='Search ']",
"search-navbar-input": "//input[@id='navbarsearch']",
"search-header-input": "//input[contains(@class, 'search-input')]",
"search-sidebar-result": "//input[@id='j_idt414:searchBasic']",
"create-dataverse-button-save": "//button[@id='dataverseForm:save']",
"create-dataverse-note-alert-success": "//div[contains(@class, 'alert-success')]",
"create-dataverse-note-alert-success-text": "//div[contains(@class, 'alert-success')]/strong[text()='Success!']",
"dataverse-header-unpublished": "//span[contains(@class, 'label-unpublished')]",
"dataverse-header-name": "//a[contains(@class, 'dataverseHeaderDataverseName')]",
"dataverse-header-affiliation": "//div[contains(@class, 'dataverseHeaderName')]/span[1]",
"datafile-header-title": "//span[@class='file-title-label']",
"add-data-button": "//form[@id='addDataForm']/div[1]/button",
"add-data-button-dataverse": "//form[@id='addDataForm']/div[1]/ul/li[1]/a",
"sidebar-facet-dataverse": "//span[@class='facetTypeDataverse']",
"sidebar-facet-dataset": "//span[@class='facetTypeDataset']",
"sidebar-facet-datafile": "//span[@class='facetTypeFile']",
"div-sidebar": "//div[@id='dv-sidebar']"
}
43 changes: 0 additions & 43 deletions configs/default/dataverse_5-6/form-data_create-dataset.json

This file was deleted.

1 change: 1 addition & 0 deletions configs/default/dataverse_5-7/terms-of-use.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
There are no Terms of Use for this Dataverse installation.
27 changes: 27 additions & 0 deletions configs/default/dataverse_5-7/xpaths.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"navbar-user-display-info-title": "//span[@id='userDisplayInfoTitle']",
"datafile-header-title": "//span[@class='file-title-label']",
"input-username-email": "//input[@id='loginForm:credentialsContainer:0:credValue']",
"input-password": "//input[@id='loginForm:credentialsContainer:1:sCredValue']",
"login-button-login": "//button[@id='loginForm:login']",
"login-button-login-normal": "//*[text()='Username/Email']",
"login-institution-select": "//select[@id='idpSelectSelector']",
"login-institution-select-button": "//input[@id='idpSelectListButton']",
"register-div-terms-of-use": "//div[contains(@class, 'terms-agreement-block')]",
"search-navbar-link": "//ul[contains(@class, 'navbar-nav')]/li/a[text()='Search ']",
"search-navbar-input": "//input[@id='navbarsearch']",
"search-header-input": "//input[contains(@class, 'search-input')]",
"search-sidebar-result": "//input[@id='j_idt443:searchBasic']",
"create-dataverse-button-save": "//button[@id='dataverseForm:save']",
"create-dataverse-note-alert-success": "//div[contains(@class, 'alert-success')]",
"create-dataverse-note-alert-success-text": "//div[contains(@class, 'alert-success')]/strong[text()='Success!']",
"dataverse-header-unpublished": "//span[contains(@class, 'label-unpublished')]",
"dataverse-header-name": "//a[contains(@class, 'dataverseHeaderDataverseName')]",
"dataverse-header-affiliation": "//div[contains(@class, 'dataverseHeaderName')]/span[1]",
"add-data-button": "//form[@id='addDataForm']/div[1]/button",
"add-data-button-dataverse": "//form[@id='addDataForm']/div[1]/ul/li[1]/a",
"sidebar-facet-dataverse": "//span[@class='facetTypeDataverse']",
"sidebar-facet-dataset": "//span[@class='facetTypeDataset']",
"sidebar-facet-datafile": "//span[@class='facetTypeFile']",
"div-sidebar": "//div[@id='dv-sidebar']"
}
7 changes: 7 additions & 0 deletions configs/installations/TEMPLATE_testing-settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"login-options": [
"normal",
"shibboleth"
],
"cookie-rollbar": true
}
Loading

0 comments on commit e479197

Please sign in to comment.