Skip to content

Commit cc9dc38

Browse files
authored
Merge pull request #128 from mfaisalkhatri/main
Updates in Playwright-Test-Ts
2 parents 2287814 + f907540 commit cc9dc38

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

playwright-test-ts/lambdatest-setup.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,8 @@ const test = base.test.extend({
5252
`${testInfo.title} - ${fileName}`
5353
);
5454

55-
const browser = await chromium.connect({
56-
wsEndpoint: `wss://cdp.lambdatest.com/playwright?capabilities=${encodeURIComponent(
57-
JSON.stringify(capabilities)
58-
)}`,
59-
});
55+
const browser = await chromium.connect(`wss://cdp.lambdatest.com/playwright?capabilities=${encodeURIComponent(
56+
JSON.stringify(capabilities))}`,)
6057

6158
const ltPage = await browser.newPage(testInfo.project.use);
6259
await use(ltPage);

playwright-test-ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "npx playwright test --config=./playwright.config.ts"
1111
},
1212
"devDependencies": {
13-
"@playwright/test": "^1.35.0",
14-
"playwright": "^1.41.2"
13+
"@playwright/test": "^1.55.1",
14+
"playwright": "^1.55.1"
1515
}
1616
}

0 commit comments

Comments
 (0)