Skip to content

Commit 12f4473

Browse files
committed
test: documented backpage tests in testReadme.md(#4080)
1 parent e430182 commit 12f4473

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

explorer/e2e/testReadme.md

+13-8
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,19 @@ through the actions taken as part of the test and view the impact on the web pag
7070
- Runs from "Datasets" to "Activities", "Activities" to "Datasets", "Datasets" to "Files", "Datasets" to "Donors", "Datasets" to "BioSamples"
7171
- `anvil-tabs-buttons.spec.ts`
7272
- All tests rely on correct lists of tabs, columns, and filters in `anvil-tabs.ts`
73+
- Backpages (`anvil-backpages.spec.ts`)
74+
- Test the export process on the "Datasets" tab
75+
- Select the first dataset that does not have access control enabled and go to the export tab on its backpage. Select a one filter checkbox for each category then select the "Export to Terra" button
76+
- Check that buttons, text, and loading text appears as expected, and that a new tab appears when the "Export to Terra" button is pressed
77+
- Relevant text constants are stored in `anvil-tabs.ts`
78+
- Currently disabled as the export button is disabled
79+
- Test that access control works properly on the "Datasets" tab
80+
- Select a non access controlled tab and check that text associataed with access being granted is present, then repeat for an access controleld tab
81+
- Relevant text constants are stored in `anvil-tabs.ts`
82+
- Currently disabled as the export button is disabled
83+
- Test that data in the sidebar of the "Datasets" tab is the same as the text displayed in the main tab le
84+
- Enable all non-preselected columns and read values from all columns in the first row, including n-tag cells. Then select the backpage for the first row and check that all matching columns are reflected
85+
- Requires a list of the values in the sidebar to be present in `anvil-tabs.ts` and that plural labels are defined there for any columns that include n-tag cells
7386

7487
#### AnVIL-Catalog
7588

@@ -96,13 +109,5 @@ through the actions taken as part of the test and view the impact on the web pag
96109
- Sign in (probably smoke test / existence only for ease)
97110
- "Contact Us" form
98111
- Edit columns Button (already on AnVIL-Catalog)
99-
- Datasets backpages
100-
- Check that "Dataset details" match relevant fields in the table
101-
- Check access control works properly
102-
- Smoke test for "Request link" button
103-
- Check boxes
104-
- Press "Request link" button
105-
- Press resulting button to go to Terra
106-
- Check that url begins "anvil.terra.bio"
107112
- Smoke test buttons at bottom of screen (logos, help, privacy)
108113
- Smoke test "Help & Documentation" buttons

0 commit comments

Comments
 (0)