Skip to content

feat!: add async function config support#1273

Merged
KuznetsovRoman merged 1 commit into
testplane@9from
TESTPLANE-178.config_async
Jun 15, 2026
Merged

feat!: add async function config support#1273
KuznetsovRoman merged 1 commit into
testplane@9from
TESTPLANE-178.config_async

Conversation

@KuznetsovRoman

Copy link
Copy Markdown
Member

No description provided.

Comment thread src/cli/index.ts

const configPath = preparseOption(program, "config") as string;
testplane = Testplane.create(configPath);
testplane = await Testplane.create(configPath);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Testplane.create is now async, because config is parsed inside of it

const installBrowsers_ = async (argv: string = ""): Promise<void> => {
process.argv = ["foo/bar/node", "foo/bar/script", "install-deps", ...argv.split(" ")].filter(Boolean);
cli.run();
await cli.run();

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

cli.run was always async

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

✅ Testplane E2E run succeed

Report

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

✅ Testplane browser-env run succeed

Report

@KuznetsovRoman KuznetsovRoman force-pushed the TESTPLANE-178.config_async branch from d7cc930 to 497c7c2 Compare June 4, 2026 07:25
@pkg-pr-new

pkg-pr-new Bot commented Jun 4, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/testplane@1273

commit: 8fc9934

@KuznetsovRoman KuznetsovRoman force-pushed the TESTPLANE-178.config_async branch from 497c7c2 to 8fc9934 Compare June 15, 2026 08:27
@KuznetsovRoman KuznetsovRoman merged commit 0b41ec7 into testplane@9 Jun 15, 2026
9 checks passed
@KuznetsovRoman KuznetsovRoman deleted the TESTPLANE-178.config_async branch June 15, 2026 08:32
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