Skip to content

Commit 05fe794

Browse files
feat: use local browsers by default
1 parent 321d649 commit 05fe794

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

src/constants/baseGeneralPrompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const baseGeneralPrompts: GeneralPrompt[] = [
1111
type: "input",
1212
name: "gridUrl",
1313
message: "GridUrl",
14-
default: "http://localhost:4444/wd/hub",
14+
default: "local",
1515
},
1616
{
1717
type: "confirm",

src/constants/defaultTestplaneConfig.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { TestplaneConfig } from "../types/testplaneConfig";
33
export const defaultTestplaneTestsDir = "testplane-tests";
44

55
const defaultTestplaneConfig: TestplaneConfig = {
6-
gridUrl: "http://localhost:4444/wd/hub",
6+
gridUrl: "local",
77
baseUrl: "http://localhost",
88

99
pageLoadTimeout: 0,
@@ -14,18 +14,23 @@ const defaultTestplaneConfig: TestplaneConfig = {
1414
sets: {
1515
desktop: {
1616
files: [`${defaultTestplaneTestsDir}/**/*.testplane.(t|j)s`],
17-
browsers: ["chrome"],
17+
browsers: ["chrome", "firefox"],
1818
},
1919
},
2020

2121
browsers: {
2222
chrome: {
23-
automationProtocol: "devtools",
2423
headless: true,
2524
desiredCapabilities: {
2625
browserName: "chrome",
2726
},
2827
},
28+
firefox: {
29+
headless: true,
30+
desiredCapabilities: {
31+
browserName: "firefox",
32+
},
33+
},
2934
},
3035
};
3136

0 commit comments

Comments
 (0)