From fe9b3edc37c609aa09b833986a7833eb4edb97f5 Mon Sep 17 00:00:00 2001 From: jpaten Date: Wed, 30 Oct 2024 14:28:50 -0700 Subject: [PATCH] test: renamed 'testIndexExportDetails' to 'testIndexExportSummary' (#4117) --- explorer/e2e/anvil/anvil-index-export-button.spec.ts | 6 +++--- explorer/e2e/testFunctions.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/explorer/e2e/anvil/anvil-index-export-button.spec.ts b/explorer/e2e/anvil/anvil-index-export-button.spec.ts index 9cb7cc11a..946c1e2fc 100644 --- a/explorer/e2e/anvil/anvil-index-export-button.spec.ts +++ b/explorer/e2e/anvil/anvil-index-export-button.spec.ts @@ -1,6 +1,6 @@ import test from "@playwright/test"; import { - testIndexExportDetails, + testIndexExportSummary, testIndexExportWorkflow, } from "../testFunctions"; import { ANVIL_TABS } from "./anvil-tabs"; @@ -11,8 +11,8 @@ test("Smoke test File Manifest Request index export workflow on the Diles tab", 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 Selected Data Summary tab on the index export page matches figures on the index page on the BioSamples tab", async ({ page, }) => { - await testIndexExportDetails(page, ANVIL_TABS.BIOSAMPLES); + await testIndexExportSummary(page, ANVIL_TABS.BIOSAMPLES); }); diff --git a/explorer/e2e/testFunctions.ts b/explorer/e2e/testFunctions.ts index 83b9e7593..b3d62e565 100644 --- a/explorer/e2e/testFunctions.ts +++ b/explorer/e2e/testFunctions.ts @@ -1141,7 +1141,7 @@ export async function testIndexExportWorkflow( //TODO: validate the results from the downnload } -export async function testIndexExportDetails( +export async function testIndexExportSummary( page: Page, tab: TabDescription ): Promise {