Skip to content

fix(gui, testplane): send required modules to run method#755

Merged
DudaGod merged 1 commit intomasterfrom
TESTPLANE-542.add_require_cli_option
Feb 25, 2026
Merged

fix(gui, testplane): send required modules to run method#755
DudaGod merged 1 commit intomasterfrom
TESTPLANE-542.add_require_cli_option

Conversation

@DudaGod
Copy link
Member

@DudaGod DudaGod commented Feb 24, 2026

No description provided.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 24, 2026

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/html-reporter@755

commit: 5b657c4

@github-actions
Copy link

github-actions bot commented Feb 24, 2026

✅ Component tests succeed

Report

@github-actions
Copy link

github-actions bot commented Feb 24, 2026

✅ E2E tests succeed

Report


async run(testCollectionAdapter: TestplaneTestCollectionAdapter, tests: TestSpec[] = [], cliTool: CommanderStatic): Promise<boolean> {
const {grep, tag, set: sets, browser: browsers, devtools = false, local = false} = cliTool;
const {grep, tag, set: sets, browser: browsers, devtools = false, local = false, require: requireModules = []} = cliTool;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Option require is already supported in testplane - https://github.com/gemini-testing/testplane/blob/master/src/cli/index.ts#L54 and called before emit cli event.

So this option works correctly in master process, but gui run testplane from api and should send requireModules (code below) in order to correctly require modules in workers, here - https://github.com/gemini-testing/testplane/blob/master/src/worker/testplane-facade.ts#L66-L70

@DudaGod DudaGod force-pushed the TESTPLANE-542.add_require_cli_option branch from e90ed97 to 5b657c4 Compare February 24, 2026 13:32
@DudaGod DudaGod merged commit 4fd32df into master Feb 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants