Skip to content

Commit

Permalink
special handling for anvil manifest PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
haraprasadj committed Jul 30, 2024
1 parent 696f5c8 commit 7e6cdfa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion suites/portal/pfbExportTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,11 @@ Scenario('Install the latest pypfb CLI version and make sure we can parse the av
expect(itDDNodesSet.next().value).to.equal('program');
expect(itDDNodesSet.next().value).to.equal('project');
if (process.env.REPO === 'cdis-manifest' || process.env.REPO === 'gitops-qa') {
expect(itDDNodesSet.next().value).to.equal('study');
if (I.cache.testedEnv.includes('anvil')) {
expect(itDDNodesSet.next().value).to.equal('subject');
} else {
expect(itDDNodesSet.next().value).to.equal('study');
}
} else {
expect(itDDNodesSet.next().value).to.equal('subject');
}
Expand Down

0 comments on commit 7e6cdfa

Please sign in to comment.