Skip to content

Commit 37c65b7

Browse files
committed
Update .gitignore and configure Playwright to run in headless mode
1 parent 3c3bed8 commit 37c65b7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
*.iml
99
.DS_Store
1010

11+
/htmlReport/
12+
1113
# The following files are generated/updated by vaadin-maven-plugin
1214
node_modules/
1315
src/main/frontend/generated/

src/test/java/org/javadominicano/PlaywrightIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static void beforeAll() {
2222
playwright = Playwright.create();
2323
BrowserType browserType = playwright.chromium();
2424

25-
BrowserType.LaunchOptions launchOptions = new BrowserType.LaunchOptions();
25+
BrowserType.LaunchOptions launchOptions = new BrowserType.LaunchOptions().setHeadless(true);
2626
launchOptions.headless = false;
2727

2828
browser = browserType.launch(launchOptions);

0 commit comments

Comments
 (0)