File tree Expand file tree Collapse file tree 4 files changed +3
-10
lines changed
src/test/java/org/javadominicano Expand file tree Collapse file tree 4 files changed +3
-10
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99jobs :
1010 build-and-test :
1111 runs-on : ubuntu-latest
12+ env :
13+ HEADLESS : true
1214
1315 steps :
1416 - name : Checkout
Original file line number Diff line number Diff line change 107107 <scope >test</scope >
108108 </dependency >
109109
110- <dependency >
111- <groupId >io.github.cdimascio</groupId >
112- <artifactId >dotenv-java</artifactId >
113- <version >3.0.0</version >
114- </dependency >
115-
116110 <dependency >
117111 <groupId >com.microsoft.playwright</groupId >
118112 <artifactId >playwright</artifactId >
Original file line number Diff line number Diff line change 11package org .javadominicano ;
22
33import com .microsoft .playwright .*;
4- import io .github .cdimascio .dotenv .Dotenv ;
54import org .junit .jupiter .api .AfterAll ;
65import org .junit .jupiter .api .AfterEach ;
76import org .junit .jupiter .api .BeforeAll ;
@@ -23,10 +22,9 @@ public static void beforeAll() {
2322 playwright = Playwright .create ();
2423 BrowserType browserType = playwright .chromium ();
2524
26- Dotenv dotenv = Dotenv .load ();
2725
2826 boolean headless = Boolean .parseBoolean (
29- dotenv . get ( "HEADLESS" , "true " )
27+ System . getenv (). getOrDefault ( "HEADLESS" , "false " )
3028 );
3129
3230 BrowserType .LaunchOptions launchOptions = new BrowserType .LaunchOptions ()
You can’t perform that action at this time.
0 commit comments