Browse Source

feat(test): Improved stress test test selection logic

pull/4521/head
Muhammed Mustafa 2 years ago
parent
commit
065188e510
  1. 2
      tests/playwright/scripts/stressTestNewlyAddedTest.js

2
tests/playwright/scripts/stressTestNewlyAddedTest.js

@ -5,7 +5,7 @@ const exec = util.promisify(require('child_process').exec);
// Get items from `git diff develop' // Get items from `git diff develop'
void (async () => { void (async () => {
const { stdout } = await exec(`git diff develop | grep test\\(`); const { stdout } = await exec(`git diff develop -- *.spec.ts **/*.spec.ts | grep test\\(`);
// eslint-disable-next-line no-undef // eslint-disable-next-line no-undef
const dbType = process.env.E2E_DB_TYPE; const dbType = process.env.E2E_DB_TYPE;

Loading…
Cancel
Save