Skip to content

Commit

Permalink
Merge pull request #625 from gemini-testing/TESTPLANE-385.testplane_l…
Browse files Browse the repository at this point in the history
…ocal

feat: add testplane gui --local support
  • Loading branch information
KuznetsovRoman authored Dec 24, 2024
2 parents b9da48a + 0111ce0 commit a9be15a
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 a9be15a

Please sign in to comment.