Skip to content
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

chore(testing): update test plans #4404

Merged
merged 18 commits into from
Nov 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 31 additions & 13 deletions e2e/manual-tests/catalogue/catalogue-test_11.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,34 @@ A naïve visitor to the data catalogue can click around and search within 'all r

# Steps

| Step | Action | Expected result | Github bug/issue | Playwright test |
| ---- | ------ | --------------- | ---------------- | --------------- |
| 0 | Navigate to [the home screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/testNetwork1) | End up on the overview page of the testNetwork1 | | |
| 0.5 | Check numbers at the bottom, they come straight from the db, not sure how to verify | numbers are as expected (can I asssume this testset always?) | | |
| 1 | Click on VARIABLES in the menu | End up at[the variable screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/testNetwork1/variables)| | |
| 2 | Go back using the browser back button| End up at[the home screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/testNetwork1) | | |
| 3 | Click on the word VARIABLES underneath the logo | End up at [the variable screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/testNetwork1/variables) | | |
| 4 | Go back by clicking the Molgenis logo in the top left | End up at [the home screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/testNetwork1) | | |
| 4.5 | Go back by clicking the TESTNETWORK1 breadcrumb | End up at [the home screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/testNetwork1) | | |
| 5 | Click on the variables button | End up at [the variable screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/testNetwork1/variables) | | |
| 6 | Enter 'lang' into the search box (why is there a button if it does auto search?) | I'd expect 2 variables to show: 'testVarLang' and 'textVarLang3Vir' | I also find 'textVarCategorical\_' and 'textVarNoRepeats' and I don't see why | |
| 7 | ------ | | | |
| 8 | ------ | | | |
| Step | Action | Expected result | Github bug/issue | Playwright test |
| ---- | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | --------------- |
| 0 | Navigate to the [all variables screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/all) | End up on the overview page of the testNetwork1 | | |
| 1 | Click on VARIABLES in the menu | End up at [the variable screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/all/variables) | | |
| 2 | Go back using the browser back button | End up at [the all variables](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/all) | | |
| 3 | Click on the word VARIABLES underneath the logo | End up at [the variable screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/all/variables) | | |
| 4 | Go back by clicking the Molgenis logo in the top left | End up at [the all variables](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/all) | | |
| 5 | Click on the variables CTA | End up at [the variable screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/all/variables) | | |
| 6 | Check the breadcrumb | It should be "ALL > VARIABLES" | |
| 7 | Go back by clicking the ALL breadcrumb | End up at [the all variables](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/all) | | |
| 8 | Check the CTA's | There should be 3, names: "Resources", "Networks", and "Variables" | | |
| 9 | Check the title above each CTA | They should match the text on their respective CTA's | | |
| 10 | Check the description of the "Resources" CTA | It should read "Collections of data available (cohort, studies, biobank...)" | | |
| 11 | Check the description of the "Networks" CTA | It should read "Networks & Consortia" | | |
| 12 | Check the description of the "Variables" CTA | It should read "Harmonised variables" | | |
| 13 | Check The ribbon at the top of the screen | It should contain the options: "RESOURCES", "NETWORKS", "VARIABLES", and "MORE" | | |
| 14 | Mouse over "MORE" | It should reveal the options: "Other catalogues", and "Upload Data" | | |
| 15 | Check the texts below the CTAs | It should contain the number of "Participants", "Samples". The percentage of "Longitudinal", and the number of "subpopulations" | | |
| 16 | Each card containing a CTA should be lined out correctly | Each should take up the same amount of space and the room between them should be consistent. | Currently not the case | |
| 17 | Click on the "Resources" CTA | End up at [the resources screen](https://data-catalogue-acc.molgeniscloud.org/testCatalogue/ssr-catalogue/all/resources) | | |
| 18 | Click the filter for resource type | A list of possible resources to filter on should appear | Currently not implemented | |
| 19 | ------ | | | |
| 20 | ------ | | | |
| 20 | ------ | | | |
| 20 | ------ | | | |
| 20 | ------ | | | |
| 20 | ------ | | | |
| 20 | ------ | | | |

<!-- Test ook doorklikken naar resources en de pagina die je krijgt, extra filter in resources en moet werken -->
<!-- check breadcrumbs in doorklik pagina's -->