Skip to content

Commit

Permalink
test: added readme, cleanup on test descriptions (#4117)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaten committed Nov 6, 2024
1 parent 79dc78e commit afc61ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import {
} from "../testFunctions";
import { ANVIL_TABS } from "./anvil-tabs";

test("Check that the export button on the index page functions as expected, on the Files tab", async ({
test("Smoke test File Manifest Request index export workflow on the Diles tab", async ({
page,
}) => {
await testIndexExportWorkflow(page, ANVIL_TABS.FILES);
});

test("Check that figures in the details tab on the index export page matches figures on the index page, on the BioSamples tab", async ({
test("Check that figures in the details tab on the index export page matches figures on the index page on the BioSamples tab", async ({
page,
}) => {
await testIndexExportDetails(page, ANVIL_TABS.BIOSAMPLES);
Expand Down
8 changes: 8 additions & 0 deletions explorer/e2e/testReadme.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ through the actions taken as part of the test and view the impact on the web pag
- Test that data in the sidebar of the "Datasets" tab is the same as the text displayed in the main table
- Enables all non-preselected columns and read values from all columns in the first row, including n-tag cells. Then selects the backpage for the first row and checks that all matching columns are reflected
- 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
- Index Export (`anvil-index-export-button.spec.ts`)
- Test the "File Manifest Request" workflow works
- Runs through the export workfl.ow for "File Manifest Request" Workflow, checking that loading screens and text appear correctly on each page
- Checks that a download occurs when the "Download Manifest" is clicked
- Runs only on the Files tab
- Tests that the counts in the "Selected Data Summary" box match the counts on the index page
- Does not apply filters
- Runs only on the BioSamples tab

#### AnVIL-Catalog

Expand Down

0 comments on commit afc61ae

Please sign in to comment.