Skip to content

Commit 0111ce0

Browse files
feat: add testplane gui --local support
1 parent b9da48a commit 0111ce0

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)