Skip to content

Commit

Permalink
feat: add testplane gui --local support
Browse files Browse the repository at this point in the history
  • Loading branch information
KuznetsovRoman committed Dec 24, 2024
1 parent b9da48a commit 0111ce0
Show file tree
Hide file tree
Showing 3 changed files with 747 additions and 1,365 deletions.
4 changes: 2 additions & 2 deletions lib/adapters/tool/testplane/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ export class TestplaneToolAdapter implements ToolAdapter {
}

async run(testCollectionAdapter: TestplaneTestCollectionAdapter, tests: TestSpec[] = [], cliTool: CommanderStatic): Promise<boolean> {
const {grep, set: sets, browser: browsers, devtools = false} = cliTool;
const {grep, set: sets, browser: browsers, devtools = false, local = false} = cliTool;
const replMode = getReplModeOption(cliTool);
const runner = createTestRunner(testCollectionAdapter.original, tests);

return runner.run((collection) => this._tool.run(collection, {grep, sets, browsers, devtools, replMode}));
return runner.run((collection) => this._tool.run(collection, {grep, sets, browsers, devtools, replMode, local}));
}

async runWithoutRetries(...args: RunTestArgs): Promise<boolean> {
Expand Down
Loading

0 comments on commit 0111ce0

Please sign in to comment.