Skip to content

chore(catalogue): update test plans re: network links #5004

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

Merged
merged 13 commits into from
May 7, 2025
18 changes: 8 additions & 10 deletions e2e/manual-tests/catalogue/catalogue-test_1.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# Number
# Test Plan 1

1

# Role
## Role

Naïve user of the data catalogue

# Goal
## Goal

A naïve visitor to the data catalogue can click around in the catalogue and understand what they are seeing when viewing a network of networks.
A naïve visitor to the data catalogue can click around in the catalogue and
understand what they are seeing when viewing a network of networks.

# Steps
## Steps

| Step | Action | Expected result | Github bug/issue | Playwright test |
| -----| -------| ----------------| -----------------| ----------------|
| 0 | NB: Assumptions | This test plan assumes a 'clean' set of test data, otherwise counts for variables etc. might be off.Ensure that the testCatalogue schema has been uploaded into the Acceptance server before you start testing.
| | |
| 0 | NB: Assumptions | This test plan assumes a 'clean' set of test data, otherwise counts for variables etc. might be off. Ensure that the testCatalogue schema has been uploaded into the Acceptance server before you start testing. | | |
| | | | | |
| 1 | Navigate to [https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/) | Landing page: European health research data and sample catalogue| | true |
| 2 | In section 'Thematic catalogues' hover over the testNetworkofNetworks row | Row should be highlighted | | true |
| 3 | Click on the testNetworkofNetworks row | Should be directed to the testNetworkofNetworks with 'Welcome to the catalogue of testNetworkofNetworks: name for test network of networks [etc]', and Collections (8), Networks (2) and Variables (7) buttons | | true |
Expand All @@ -33,4 +32,3 @@ A naïve visitor to the data catalogue can click around in the catalogue and und
| 12 | Click on About | Should be directed to the detailed network page for testNetworkofNetworks (THIS IS NOT THE SAME AS THE HOME PAGE!) with website, description, general design, population, organisations, publications, funding & acknowledgements, list of cohorts and link to view the network's variables | | true |
| 13 | Click on More --> Other catalogues | Should be directed to the landing page showing all thematic and project catalogues, entitled "European Health Research Data and Sample Catalogue" | | true |
| 14 | Click on More --> Upload data | Should be directed to the 'old' interface apps/central for the user to be able to sign in and upload data | | |

16 changes: 9 additions & 7 deletions e2e/manual-tests/catalogue/catalogue-test_10.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Number
# Test Plan 10

10

# Role
## Role

Technical tester

# Goal
## Goal

This test plan checks various specific, unrelated elements of the catalogue making use of a dataset copied from production (eg ATHLETE project, or LIFECYCLE project), which is larger than the test dataset we currently have in ACC. With the large dataset a technical tester can check (eg) that pagination is working correctly or that long variable names are correctly displayed.
This test plan checks various specific, unrelated elements of the catalogue making use of
a dataset copied from production (e.g. ATHLETE project, or LIFECYCLE project),
which is larger than the test dataset we currently have in ACC.
With the large dataset a technical tester can check, for example, that pagination is working correctly
or that long variable names are correctly displayed.

# Steps
## Steps

| Step | Action | Expected result | Github bug/issue | Playwright test |
| ---- | ------ | --------------- | ---------------- | --------------- |
Expand Down
10 changes: 4 additions & 6 deletions e2e/manual-tests/catalogue/catalogue-test_11.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# Number
# Test Plan 11

11

# Role
## Role

Naïve user of the data catalogue.

# Goal
## Goal

A naïve visitor to the data catalogue can click around the 'browse all catalogue content'-screen and search within 'all resources'-screen.

# Steps
## Steps

| Step | Action | Expected result | Github bug/issue | Playwright test |
| ---- | ------ | --------------- | ---------------- | --------------- |
Expand Down
29 changes: 15 additions & 14 deletions e2e/manual-tests/catalogue/catalogue-test_12.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
# Number
# Test Plan 12

12

# Role
## Role

Naïve user of the data catalogue on a small screen

# Goal
## Goal

A naïve visitor to the data catalogue on a small screen can click around through items in the menu ribbon and end up where they would expect. The catalogue (menu ribbon, blocks of information displayed, filters, etc) is displayed correctly when viewed in 'small-screen' mode.
A naïve visitor to the data catalogue on a small screen can click around through items in the menu ribbon
and end up where they would expect.
The catalogue (menu ribbon, blocks of information displayed, filters, etc) is displayed correctly
when viewed in 'small-screen' mode.

# Steps
## Steps

| Step | Action | Expected result | Github bug/issue | Playwright test |
| ---- | ------ | --------------- |----------------- | --------------- |
| 0 | NB: Assumptions | This test plan assumes the user is viewing the catalogue on a small screen. Open the link on Google chrome and press the 'Restore' button to view it on a smaller screen | | |
| 1 | Navigate to [catalogue/](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/) | Landing page: European health research data and sample catalogue. The ribbon reads: `MENU` and `MOLGENIS` logo at the top and `HOME`, `ALL COLLECTIONS`, `ALL VARIABLES`, `ALL NETWORKS` below | | |
| 2 | Hover over the `MENU` button | It stays the same size| | |
| 3 | Click on the `MENU` button | A pop-up opens listing `HOME`, `ALL COLLECTIONS`, `ALL VARIABLES`, `ALL NETWORKS`, `UPLOAD DATA`, and `MANUALS`| | |
| 4 | Close the pop-up | | |
| 4 | Close the pop-up | | | |
| 5 | Click on the 'Search all' button | The user goes to [/catalogue/all](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all) | | |
| 6 | | The ribbon reads: `MENU` and `MOLGENIS` logo at the top, Below: `COLLECTIONS`, `NETWORKS`, `VARIABLES`, `OTHER CATALOGUES` | | |
| 7 | Click on 'Collections' | The user goes to [/catalogue/all/collections](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/collections) | | |
| 8 | | The ribbon reads: `MENU` and `MOLGENIS` logo at the top, Below: `OVERVIEW`, `COLLECTIONS`, `NETWORKS`, `VARIABLES` | | |
| 9 | Click on 'Filters' and a pop-up opens. | A search field is disaplyed at the top and filters below | | |
| 10 | Close the pop-up | | |
| 11 | Click on the 'View' button | List of collections changes to compact view and the URL changes to [/view=compact](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/collections?view=compact) | | || | |
| 10 | Close the pop-up | | | |
| 11 | Click on the 'View' button | List of collections changes to compact view and the URL changes to [/view=compact](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/collections?view=compact) | | |
| 12 | Click on the 'View' button again | List of collections goes back to detailed view and the URL changes to [/view=detailed](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/collections?view=detailed) | | |
| 13 | Click on 'acronym for test cohort 1' | The user goes to overview page for this collection and the ribbon reads :`MENU` and `MOLGENIS` logo at the top, Below: `OVERVIEW`, `COLLECTIONS`, `NETWORKS`, `VARIABLES` | | |
| 14 | See that the fields are filled as follows: | https://www.molgenis.org/, 'Contact' button, Description, General design, Population, Organisations, Contributors, Available Data & Samples, Subpopulations, Collection Events, Datasets, Networks, Publications, Access Conditions, Funding and acknowledgements, and Documentation | | |
| 14 | See that the fields are filled as follows: | <https://www.molgenis.org/>, 'Contact' button, Description, General design, Population, Organisations, Contributors, Available Data & Samples, Subpopulations, Collection Events, Datasets, Networks, Publications, Access Conditions, Funding and acknowledgements, and Documentation | | |
| 15 | Click on the back arrow on the page| The user goes to [/catalogue/all/collections](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/collections) | | |
| 16 | Click the back arrow on the page again | The user returns to [/catalogue/all](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all) | | |
| 16 | Click the back arrow on the page again | The user returns to [/catalogue/all](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all) | | |
| 17 | Click on 'Networks'| The user goes to [/catalogue/all/networks](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/networks) | | |
| 18 | | The ribbon reads: `MENU` and `MOLGENIS` logo at the top, Below: `OVERVIEW`, `COLLECTIONS` `NETWORKS`, `VARIABLES` | | |
| 19 | Click on 'Filters' and a pop-up opens. | A search field is displayed at the top and filters below | | |
| 20 | Close the pop-up | | | |
| 21 | Click on 'acronym for test network1' | The user goes to overview page for this network and the ribbon reads :`MENU` and `MOLGENIS` logo at the top, Below: `OVERVIEW`, `COLLECTIONS`, `NETWORKS`, `VARIABLES` | | |
| 22 | See that the fields are filled as follows: | Test logo for test network,(https://www.molgenis.org/), Description, General design, Population, Organisations, Datasets, Networks, Publications, Funding and acknowledgements | | |
| 22 | See that the fields are filled as follows: | Test logo for test network, <https://www.molgenis.org/>, Description, General design, Population, Organisations, Datasets, Networks, Publications, Funding and acknowledgements | | |
| 23 | Press the back button on the page | The user goes to [/catalogue/all/networks](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/networks) | | |
| 24 | Press the back button again | The user goes to [/catalogue/all](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all) | | |
| 25 | Click on 'Variables` | The user goes to [/catalogue/all/variables](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/variables) | | |
Expand All @@ -48,7 +49,7 @@ A naïve visitor to the data catalogue on a small screen can click around throug
| 31 | | The ribbon reads: `MENU` and `MOLGENIS` logo at the top, Below: `OVERVIEW``COLLECTIONS`, `NETWORKS`, and `VARIABLES` | | |
| 32 | Click on the first variable 'abd_circum_sdsWHO_t' | The user goes to [/variables/abd_circum_sdsWHO_t](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/variables/abd_circum_sdsWHO_t-ATHLETE-outcome_ath-ATHLETE?keys={%22name%22:%22abd_circum_sdsWHO_t%22,%22resource%22:{%22id%22:%22ATHLETE%22},%22dataset%22:{%22name%22:%22outcome_ath%22,%22resource%22:{%22id%22:%22ATHLETE%22}}}) | | |
| 33 | See that the fields are filled as follows: | Definition, Harmonisation status per source and Harmonisation details per source | | |
| 34 | Click on `OTHER CATALOGUES` again | | |
| 34 | Click on `OTHER CATALOGUES` again | | | |
| 35 | Click on **OOM** under *Project Catalogues* | The user goes to [/catalogue/OOM](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/OOM). | | |
| 36 | | The ribbon reads: `MENU`, test logo at the top (or Molgenis logo if no test logo is available) and below `COLLECTIONS`, `NETWORKS`, `VARIABLES`, and `ABOUT` | | |
| 37 | Click on `MENU` | A pop-up opens with options: `COLLECTIONS`, `NETWORKS`, `VARIABLES`, `ABOUT`, `OTHER CATALOGUES`, `UPLOAD DATA`, `MANUALS` | | |
Expand Down
31 changes: 15 additions & 16 deletions e2e/manual-tests/catalogue/catalogue-test_13.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Number
# Test Plan 13

13

# Role
## Role

Naïve user of the data catalogue on different browsers: Mozilla Firefox, Microsoft Edge and Safari.

# Goal
## Goal

A naïve visitor to the data catalogue on a different browsers like Mozilla Firefox, Microsoft Edge and Safari can click around through items in the menu ribbon and end up where they would expect. The catalogue (menu ribbon, blocks of information displayed, filters, etc) is displayed correctly.
A naïve visitor to the data catalogue on a different browsers like Mozilla Firefox, Microsoft Edge and Safari
can click around through items in the menu ribbon and end up where they would expect.
The catalogue (menu ribbon, blocks of information displayed, filters, etc) is displayed correctly.

# Steps
## Steps

| Step | Action | Expected result | Github bug/issue | Playwright test |
| ---- | ------ | --------------- |----------------- | --------------- |
Expand All @@ -21,16 +21,16 @@ A naïve visitor to the data catalogue on a different browsers like Mozilla Fire
| 4 | | The ribbon reads: `MOLGENIS` logo, `COLLECTIONS`, `NETWORKS`, `VARIABLES`, `OTHER CATALOGUES` and `MORE`| | |
| 5 | Click on `COLLECTIONS` | The user goes to [/catalogue/all/collections](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/collections) | | |
| 6 | | The ribbon reads: `MOLGENIS` logo, `OVERVIEW`, `COLLECTIONS`, `NETWORKS`, `VARIABLES` and `MORE` | | |
| 7 | Scroll down the filters on the left | A search field is displayed at the top and filters below | | |
| 8 | Click on the `COMPACT` button | List of collections changes to compact view and the URL changes to [?view=compact](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/collections?view=compact) | | || | |
| 7 | Scroll down the filters on the left | A search field is displayed at the top and filters below | | |
| 8 | Click on the `COMPACT` button | List of collections changes to compact view and the URL changes to [?view=compact](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/collections?view=compact) | | |
| 9 | Click on 'acronym for test cohort 1' | The user goes to overview page for this collection and the ribbon reads : `MOLGENIS` logo, `OVERVIEW`, `COLLECTIONS`, `NETWORKS`, `VARIABLES` and `MORE` | | |
| 10 | See that the fields are filled as follows: | https://www.molgenis.org/, `CONTACT` button, Description, General design, Population, Organisations, Contributors, Available Data & Samples, Subpopulations, Collection Events, Datasets, Networks, Publications, Access Conditions, Funding and acknowledgements, and Documentation | | |
| 11 | Click on `OVERVIEW` | The user returns to [/catalogue/all](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all) | | |
| 10 | See that the fields are filled as follows: | <https://www.molgenis.org/>, `CONTACT` button, Description, General design, Population, Organisations, Contributors, Available Data & Samples, Subpopulations, Collection Events, Datasets, Networks, Publications, Access Conditions, Funding and acknowledgements, and Documentation | | |
| 11 | Click on `OVERVIEW` | The user returns to [/catalogue/all](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all) | | |
| 12 | Click on `NETWORKS`| The user goes to [/catalogue/all/networks](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/networks) | | |
| 13 | | The ribbon reads: `MOLGENIS` logo, `OVERVIEW`, `COLLECTIONS`, `NETWORKS`, `VARIABLES` and `MORE` | | |
| 14 | Scroll down the filters on the left | A search field is displayed at the top and filters below | | |
| 15 | Click on 'acronym for test network1' | The user goes to overview page for this network and the ribbon reads :`MOLGENIS` logo, `OVERVIEW`, `COLLECTIONS`, `NETWORKS`, `VARIABLES` and `MORE` | | |
| 16 | See that the fields are filled as follows: | Test logo for test network, (https://www.molgenis.org/), Description, General design, Population, Organisations, Datasets, Networks, Publications, Funding and acknowledgements | | |
| 16 | See that the fields are filled as follows: | Test logo for test network, (<https://www.molgenis.org/>), Description, General design, Population, Organisations, Datasets, Networks, Publications, Funding and acknowledgements | | |
| 17 | Click on `OVERVIEW` | The user goes to [/catalogue/all](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all) | | |
| 18 | Click on `VARIABLES` | The user goes to [/catalogue/all/variables](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/variables) | | |
| 19 | | The ribbon reads: `MOLGENIS` logo, `OVERVIEW`, `COLLECTIONS`, `NETWORKS`, `VARIABLES` and `MORE` | | |
Expand All @@ -40,15 +40,14 @@ A naïve visitor to the data catalogue on a different browsers like Mozilla Fire
| 23 | Click on `VARIABLES` again | A list of all variables is displayed | | |
| 24 | Click on the first variable 'abd_circum_sdsWHO_t' | The user goes to [/variables/abd_circum_sdsWHO_t](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/all/variables/abd_circum_sdsWHO_t-ATHLETE-outcome_ath-ATHLETE?keys={%22name%22:%22abd_circum_sdsWHO_t%22,%22resource%22:{%22id%22:%22ATHLETE%22},%22dataset%22:{%22name%22:%22outcome_ath%22,%22resource%22:{%22id%22:%22ATHLETE%22}}}) | | |
| 25 | See that the fields are filled as follows: | Definition, Harmonisation status per source and Harmonisation details per source | | |
| 26 | Click on `OTHER CATALOGUES` | | |
| 26 | Click on `OTHER CATALOGUES` | | | |
| 27 | Click on **OOM** under *Project Catalogues* | The user goes to [/catalogue/OOM](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/OOM). | | |
| 28 | | The ribbon reads: `MOLGENIS` logo, `COLLECTIONS`, `NETWORKS`, `VARIABLES`, `ABOUT` and `MORE` | | |
| 29 | Click on `MORE`->`Other Catalogues` | The user goes to [/catalogue/](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/) | | |
| | [THIS EXTRA TEST STEP CAN BE RENDERED INVALID BY PRODUCTION DATA FOR LONGITOOLS BEING COPIED INTO ACC - SEE IT AS A BONUS STEP!] | | | |
| 30a | Click on **LongITools** under *Project Catalogues* | The user goes to [/catalogue/LongITools](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/LongITools). | | |
| 30b | | The ribbon reads: `MOLGENIS` logo, `COLLECTIONS`, `VARIABLES`, `ABOUT`, `OTHER CATALOGUES` and `MORE` | | |
| 31 | Navigate to [catalogue/](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/) using Safari | Landing page: European health research data and sample catalogue. The ribbon reads: `MOLGENIS` logo, `HOME`, `ALL COLLECTIONS`, `ALL VARIABLES`, `ALL NETWORKS` and `MORE` | | |
| 32 | Repeat steps from 2 to 30b | | |
| 32 | Repeat steps from 2 to 30b | | | |
| 31 | Navigate to [catalogue/](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/catalogue/) using Microsoft Edge | Landing page: European health research data and sample catalogue. The ribbon reads: `MOLGENIS` logo, `HOME`, `ALL COLLECTIONS`, `ALL VARIABLES`, `ALL NETWORKS` and `MORE` | | |
| 32 | Repeat steps from 2 to 30b | | |

| 32 | Repeat steps from 2 to 30b | | | |
15 changes: 7 additions & 8 deletions e2e/manual-tests/catalogue/catalogue-test_2.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# Number
# Test Plan 2

2

# Role
## Role

Naïve user of the data catalogue

# Goal
## Goal

A naïve visitor to the data catalogue can click around in the catalogue and understand what they are seeing when viewing a network, in both of the network overview pages.
A naïve visitor to the data catalogue can click around in the catalogue and
understand what they are seeing when viewing a network, in both of the network overview pages.

# Steps
## Steps

| Step | Action | Expected result | Github bug/issue | Playwright test |
| ---- | ------ | --------------- | ----------------- | -----------------|
Expand Down Expand Up @@ -48,6 +47,6 @@ A naïve visitor to the data catalogue can click around in the catalogue and und
| | | Name, Description | | |
| | | cdm_1 -> | | |
| 28 | NETWORKS | Part of networks | | |
| | | name for test network of networks, > Website, -> | | |
| | | name for test network of networks, > Website > Network details > Catalogue, -> | | |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't see at this stage whether the test data used in this case has a catalogue, but is it worth adding something here which indicates that the 'catalogue' button only appears if the network in question has a catalogue? Do we perhaps need to add another test step in which we show that a network without a catalogue has no 'catalogue' button?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already covered in test plans 5 (step 53) and 9 (step 29), which both have lists of networks, of which some have a catalogue and some don't. This is also why I added the brackets, e.g.

53 | NETWORKS, subtitle: Part of networks | List of networks in which this resource is involved. For each network: logo, name, > Website > Network details (> Catalogue), and an arrow to navigate to details. |

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK great

| 29 | PUBLICATIONS | Two publications: 'Sustainability...phase 3 trials.' and 'Ten-year...randomized trial.' | | |
| 30 | FUNDING & ACKNOWLEDGEMENTS | lorem ipsum text, check that "until now" is shown at the end of both fields so that you know the full text has been displayed | | |
Loading