Skip to content

Commit

Permalink
fix pfbExport test
Browse files Browse the repository at this point in the history
  • Loading branch information
atharvar28 committed Jul 30, 2024
1 parent 501ee28 commit 50194ea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion suites/portal/pfbExportTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ BeforeSuite(async ({ I }) => {
// if this is running against an Anvil DD, sequencing must be used
// TODO: Look into reusing the leafNode logic from jenkins-simulate-data.sh
// eslint-disable-next-line no-nested-ternary
const targetMappingNode = I.cache.testedEnv.includes('vpodc') ? 'unaligned_reads_file' : 'sequencing';
let targetMappingNode;
if (process.env.REPO === 'cdis-manifest' || process.env.REPO === 'gitops-qa') {
targetMappingNode = I.cache.testedEnv.includes('anvil') ? 'sequencing' : I.cache.testedEnv.includes('vpodc') ? 'unaligned_reads_file' : 'submitted_unaligned_reads';
} else {
targetMappingNode = I.cache.testedEnv.includes('vpodc') ? 'unaligned_reads_file' : 'sequencing';
}

I.cache.targetMappingNode = targetMappingNode;

Expand Down

0 comments on commit 50194ea

Please sign in to comment.