Skip to content

Commit 4dd8572

Browse files
committed
Another attempt to make tests reliable
1 parent 7f92225 commit 4dd8572

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dotnetCi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
PullRequestParam: ${{ github.event_name == 'pull_request' && format('/d:sonar.pullrequest.key={0}', github.event.number) || '' }}
4242
DISPLAY: :99
4343
# Change selected factory to VerboseChrome to debug Chrome-related issues
44-
WebDriverFactory__SelectedConfiguration: VerboseChrome
44+
WebDriverFactory__SelectedConfiguration: CiHeadlessChrome
4545

4646
steps:
4747
- name: Checkout

Tests/CSF.Screenplay.Selenium.Tests/CiChromeOptionsCustomizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ public class CiChromeOptionsCustomizer : ICustomizesOptions<ChromeOptions>
77
{
88
public void CustomizeOptions(ChromeOptions options)
99
{
10-
options.AddArguments("--disable-dev-shm-usage", "--headless", "--no-sandbox", "--window-size=1280,1024");
10+
options.AddArguments("--disable-dev-shm-usage", "--headless", "--no-sandbox", "--disable-gpu", "--window-size=1280,1024");
1111
}
1212
}

0 commit comments

Comments
 (0)