Skip to content

Commit

Permalink
GWAS Monthly Workflow Limit (#1055)
Browse files Browse the repository at this point in the history
* GWAS Monthly Workflow Limit

* Update GWASUIAppTest.js

* Update GWASUIAppTest.js
  • Loading branch information
krishnaa05 authored Sep 6, 2024
1 parent a37f663 commit 582f6db
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions suites/portal/GWASUIAppTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,24 @@ Scenario('Unauthorized access to GWAS @GWASUI', async ({
gwas.do.goToAnalysisPage();
gwas.do.unauthorizedUserSelectTeamProject();
});


// TODO : Add/Update existing test cases for "Monthly Workflow Limit"
// Test Case 1: On GWAS workflow submission, "Monthly Workflow Limit" increases by 1
// 1. Log into application using main_account user.
// 2. Goto /analysis/GWASUIApp endpoint.
// 3. Submit the GWAS wokflow.
// 4. Validate the "Monthly Workflow Limit" is increased by 1.

// Test Case 2: User fails to submit GWAS workflow once "Monthly Workflow Limit" is maxed out
// 1. Log into application using main_account user.
// 2. Goto /analysis/GWASUIApp endpoint.
// 3. Verify the "Monthly Workflow Limit" is maxed out.
// 4. Submit the GWAS wokflow.
// 5. Validate an the workflow submission fails.

// Test Case 3: Validate the "Monthly Workflow Limit" on GWAS Apps is same as GWAS result
// 1. Log into application using main_account user.
// 2. Goto /analysis/GWASUIApp endpoint.
// 3. Submit the GWAS wokflow.
// 4. Validate the "Monthly Workflow Limit" is the same in GWAS result (/analysis/GWASResults endpoint)

0 comments on commit 582f6db

Please sign in to comment.