Skip to content

Commit a9be15a

Browse files
Merge pull request #625 from gemini-testing/TESTPLANE-385.testplane_local
feat: add testplane gui --local support
2 parents b9da48a + 0111ce0 commit a9be15a

File tree

3 files changed

+747
-1365
lines changed

3 files changed

+747
-1365
lines changed

lib/adapters/tool/testplane/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ export class TestplaneToolAdapter implements ToolAdapter {
122122
}
123123

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

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

132132
async runWithoutRetries(...args: RunTestArgs): Promise<boolean> {

0 commit comments

Comments
 (0)