Skip to content

Commit e879962

Browse files
authored
Merge pull request #2656 from saucelabs/pw-webkit-note
Add note about the windows + webkit limitation
2 parents 3bb6869 + 652773e commit e879962

File tree

3 files changed

+35
-4
lines changed

3 files changed

+35
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
id: limitations
3+
title: Limitations for Cucumber.js with Playwright
4+
sidebar_label: Limitations
5+
---
6+
7+
import Tabs from '@theme/Tabs';
8+
import TabItem from '@theme/TabItem';
9+
import useBaseUrl from '@docusaurus/useBaseUrl';
10+
11+
### Special Characters in Test Names
12+
13+
We recommend that you avoid the use of special characters when naming your tests. If your test name contains any special characters, your test may not run or its artifacts may not be visible in our platform.
14+
15+
### Playwright 1.31.1 + Webkit + Sauce-Connect
16+
17+
When using Sauce-Connect, Webkit browser is unable to load any website that is hosted on the Internet.
18+
Local websites can still be loaded.
19+
20+
### macOS 11 + Playwright 1.29+ + Webkit
21+
22+
Webkit is not working on macOS 11 since Playwright 1.29.0
23+
24+
### Webkit + Windows
25+
26+
There is a [known issue](https://github.com/microsoft/playwright/issues/24512) in Playwright that prevents some sites from loading in Webkit on Windows with the error `SSL peer certificate or SSH remote key was not OK`. We recommend running your Playwright + Webkit tests on our Mac VMs by setting the [platformName](https://docs.saucelabs.com/web-apps/automated-testing/playwright/yaml/#platformname) to either `macOS 13` or `macOS 12`.

docs/web-apps/automated-testing/playwright.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ Local websites can still be loaded.
171171

172172
Webkit is not working on macOS 11 since Playwright 1.29.0
173173

174-
### Playwright + Cucumber
175-
176-
Based on current Playwright test runner implementation, there is no way to run Playwright test runner with Cucumber.
177-
178174
### Playwright HTML Reporter + Trace Viewer
179175

180176
Because of a limitation in how assets are stored on our platform, configuring your tests to use the built-in [HTML reporter](https://playwright.dev/docs/test-reporters#html-reporter) and Playwright's [Trace Viewer](https://playwright.dev/docs/trace-viewer-intro) feature will not work as expected.
@@ -188,3 +184,11 @@ browserType.launch: Chromium distribution 'chrome' is not found at C:\Users\sauc
188184
```
189185

190186
This is because playwright's project specific settings override the global configuration that Sauce Labs provides during runtime. In this case, the location of the browser binary. Make sure that `launchOptions` are not set when running on a Sauce VM.
187+
188+
### Webkit + Windows
189+
190+
There is a [known issue](https://github.com/microsoft/playwright/issues/24512) in Playwright that prevents some sites from loading in Webkit on Windows with the error `SSL peer certificate or SSH remote key was not OK`. We recommend running your Playwright + Webkit tests on our Mac VMs by setting the [platformName](https://docs.saucelabs.com/web-apps/automated-testing/playwright/yaml/#platformname) to either `macOS 13` or `macOS 12`.
191+
192+
:::note
193+
Tests running through Sauce Tunnels are unaffected.
194+
:::

sidebars.js

+1
Original file line numberDiff line numberDiff line change
@@ -1519,6 +1519,7 @@ module.exports = {
15191519
'web-apps/automated-testing/cucumberjs-playwright/quickstart',
15201520
'web-apps/automated-testing/cucumberjs-playwright/yaml',
15211521
'web-apps/automated-testing/cucumberjs-playwright/advanced',
1522+
'web-apps/automated-testing/cucumberjs-playwright/limitations',
15221523
],
15231524
},
15241525
{

0 commit comments

Comments
 (0)