-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* test: first draft index export tests (#4117) * test: reduced duplication between index and details export workflows (#4117) * test: added readme, cleanup on test descriptions (#4117) * test: renamed 'testIndexExportDetails' to 'testIndexExportSummary' (#4117) * test: addressed anvil index flakiness issues (#4117) * test: cleaned up test code (#4117) * test: increased timeouts for export action (#4117)
- Loading branch information
Showing
6 changed files
with
252 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import test from "@playwright/test"; | ||
import { | ||
testBulkDownloadIndexExportWorkflow, | ||
testIndexExportSummary, | ||
} from "../testFunctions"; | ||
import { ANVIL_TABS } from "./anvil-tabs"; | ||
|
||
test("Smoke test File Manifest Request index export workflow on the Files tab", async ({ | ||
page, | ||
}) => { | ||
test.setTimeout(120000); | ||
const testResult = await testBulkDownloadIndexExportWorkflow( | ||
page, | ||
ANVIL_TABS.FILES | ||
); | ||
if (!testResult) { | ||
test.fail(); | ||
} | ||
}); | ||
|
||
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, | ||
}) => { | ||
const testResult = await testIndexExportSummary(page, ANVIL_TABS.BIOSAMPLES); | ||
if (!testResult) { | ||
test.fail(); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.