Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .evergreen/scripts/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const MARKDOWN_EXT = ".md";

const IGNORED_FILE_EXTENSIONS = new Set([MARKDOWN_EXT]);

const CYPRESS_PARALLEL_COUNT = 2;
const PLAYWRIGHT_PARALLEL_COUNT = 2;
const CYPRESS_PARALLEL_COUNT = 1;
const PLAYWRIGHT_PARALLEL_COUNT = 3;

export {
Tasks,
Expand Down
21 changes: 14 additions & 7 deletions .evergreen/scripts/generate-parallel-e2e-tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,21 @@ const getPlaywrightDirSizes = (dirPath) => {
const makeRelative = (d) => d.substring(d.indexOf("playwright"));

const dirSizeMap = {};
const dirs = getDirs(dirPath);

dirs.forEach((dir) => {
const size = getDirSize(dir);
dirSizeMap[`${makeRelative(dir)}/*.spec.ts`] = size;
});
// Specifically add root tests with no wildcard directory regex
dirSizeMap[`${makeRelative(dirPath)}/*.spec.ts`] = getDirSize(dirPath, false);
const collectDirSizes = (currentPath, isRoot) => {
const dirs = getDirs(currentPath);
const dirSize = getDirSize(currentPath, false);
// Add an entry for specs directly in this directory (always for root, only when non-empty for subdirs)
if (isRoot || dirSize > 0) {
dirSizeMap[`${makeRelative(currentPath)}/*.spec.ts`] = dirSize;
}
// Recurse into subdirectories.
dirs.forEach((dir) => {
collectDirSizes(dir, false);
});
};

collectDirSizes(dirPath, true);
return dirSizeMap;
};

Expand Down
69 changes: 0 additions & 69 deletions apps/spruce/cypress/integration/projectSettings/access.ts

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading