Skip to content

Commit

Permalink
Add TS_SAMPLE_LIST constant (#22152)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
  • Loading branch information
dmytro-ndp committed Apr 13, 2023
1 parent d1061f5 commit 2c00276
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/e2e/constants/TestConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ export const TestConstants: any = {

E2E_OCP_CLUSTER_VERSION: process.env.E2E_OCP_CLUSTER_VERSION || '4.x',

TS_SAMPLE_LIST: process.env.TS_SAMPLE_LIST || 'Node.js MongoDB,Node.js Express',

/* -------------------------------------------
| The factory tests related constants
----------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const loginTests: LoginTests = e2eContainer.get(CLASSES.LoginTests);
const driverHelper: DriverHelper = e2eContainer.get(CLASSES.DriverHelper);

const webCheCodeLocators: Locators = new CheCodeLocatorLoader().webCheCodeLocators;
const samples: any = ['Node.js MongoDB', 'Node.js Express'];
const samples: any = TestConstants.TS_SAMPLE_LIST.split(',');

suite(`Check if recommended extensions installed for ${samples}`, async function (): Promise<void> {
let projectSection: ViewSection;
Expand Down

0 comments on commit 2c00276

Please sign in to comment.