diff --git a/README.md b/README.md
index fae3bad..168d55a 100644
--- a/README.md
+++ b/README.md
@@ -55,9 +55,15 @@ $ yarn generate
For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).
+## End-to-end Testing
+
+This repo is set up to run testing automatically when there are any commits in GitHub. You can see all testing results on the `Actions` page and [Cypress Cloud](https://cloud.cypress.io/projects/zadmv6/runs?branches=%5B%5D&committers=%5B%5D&flaky=%5B%5D&page=1&status=%5B%5D&tags=%5B%5D&timeRange=%7B%22startDate%22%3A%221970-01-01%22%2C%22endDate%22%3A%222038-01-19%22%7D).
+
+To run the testing manually, please run this command: `yarn cypress open`. Then click on `E2E Testing` and select any browser you prefer. Finally choose the testing you want to run.
+
## Special Directories
-You can create the following extra directories, some of which have special behaviors. Only `pages` is required; you can delete them if you don't want to use their functionality.
+You can create the following extra directories, some of which have special behaviours. Only `pages` is required; you can delete them if you don't want to use their functionality.
### `assets`
diff --git a/components/DataBrowser/FilterData.vue b/components/DataBrowser/FilterData.vue
index 7940000..e2bbeb4 100644
--- a/components/DataBrowser/FilterData.vue
+++ b/components/DataBrowser/FilterData.vue
@@ -37,11 +37,12 @@
- Title: {{ title }}
First Published:
- {{ detail_data.created_datetime ?
- detail_data.created_datetime.slice(0, 10) :
+ {{ detail_data.created ?
+ detail_data.created.slice(0, 10) :
"N/A" }}
Last Published:
- {{ detail_data.updated_datetime ?
- detail_data.updated_datetime.slice(0, 10) :
+ {{ detail_data.updated ?
+ detail_data.updated.slice(0, 10) :
"N/A" }}
Protocol Links: N/A Experimental Approach: N/A Subject Information:
- Anatomical structure:
- N/A
-
- Species:
- N/A
-
- Sex:
- N/A
-
- Age range:
- N/A
-
+ {{ key }}:
+ N/A
+ {{ facet_list.join(', ') }}
+
+
Number of samples:
- {{ detail_data.number_of_samples[0] }} samples from {{ detail_data.number_of_subjects[0] }} subjects
+ {{ detail_data.numberSamples }} samples from {{ detail_data.numberSubjects }} subjects
Number of samples: N/A Keywords: {{ displayKeywords(detail_data.keywords) }} Keywords: {{ detail_data.keywords.join(', ') }}
@@ -65,7 +65,7 @@ export default {
},
async handelNames(val) {
- let result = "";
+ let result = [];
for (let i = 0; i < val.length; i++) {
let name = val[i];
if (name.includes("ror.org")) {
@@ -79,9 +79,9 @@ export default {
console.log(err);
});
}
- result += "; " + name;
+ result.push(name);
}
- return result.slice(2);
+ return result.join('; ');
},
}
}
diff --git a/components/DatasetDetails/AbstractInfo.vue b/components/DatasetDetails/AbstractInfo.vue
index f2c3715..690e952 100644
--- a/components/DatasetDetails/AbstractInfo.vue
+++ b/components/DatasetDetails/AbstractInfo.vue
@@ -13,98 +13,39 @@
-
Description: - {{ detail_data.subtitle[0] }} + {{ detail_data.subname }}
Created Date: {{ detail_data.created.slice(0, 10) }}
Date: {{ detail_data.date }}
{{ detail_data.files }} files @@ -55,9 +55,9 @@
-Date: {{ detail_data.date }}
-View other version
+ +Date: {{ detail_data.created.date }}
+View other version
-->