Skip to content

Commit

Permalink
Fix payara-eclipselink test config
Browse files Browse the repository at this point in the history
  • Loading branch information
BalusC committed Sep 5, 2024
1 parent 7478da2 commit eecc8a4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
<dependency>
<groupId>org.jboss.arquillian.junit5</groupId>
<artifactId>arquillian-junit5-container</artifactId>
<version>1.9.1.Final</version>
<version>1.8.0.Final</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -609,9 +609,9 @@
<id>payara-hibernate</id>
<dependencies>
<dependency>
<groupId>org.omnifaces.arquillian</groupId>
<artifactId>arquillian-glassfish-server-managed</artifactId>
<version>1.1</version>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-glassfish-managed-3.1</artifactId>
<version>1.0.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -693,9 +693,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<glassfish.home>${project.build.directory}/payara6</glassfish.home>
</systemPropertyVariables>
<environmentVariables>
<GLASSFISH_HOME>${project.build.directory}/payara6</GLASSFISH_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
Expand All @@ -707,9 +707,9 @@
<id>payara-eclipselink</id>
<dependencies>
<dependency>
<groupId>org.omnifaces.arquillian</groupId>
<artifactId>arquillian-glassfish-server-managed</artifactId>
<version>1.1</version>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-glassfish-managed-3.1</artifactId>
<version>1.0.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -744,7 +744,7 @@
<artifactId>h2</artifactId>
<version>${test.h2.version}</version>
<type>jar</type>
<outputDirectory>${project.build.directory}/payara5/glassfish/modules</outputDirectory>
<outputDirectory>${project.build.directory}/payara6/glassfish/modules</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
Expand All @@ -762,7 +762,7 @@
<artifactId>mysql-connector-java</artifactId>
<version>${test.mysql-driver.version}</version>
<type>jar</type>
<outputDirectory>${project.build.directory}/payara5/glassfish/modules</outputDirectory>
<outputDirectory>${project.build.directory}/payara6/glassfish/modules</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
Expand All @@ -780,7 +780,7 @@
<artifactId>postgresql</artifactId>
<version>${test.postgresql-driver.version}</version>
<type>jar</type>
<outputDirectory>${project.build.directory}/payara5/glassfish/modules</outputDirectory>
<outputDirectory>${project.build.directory}/payara6/glassfish/modules</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
Expand All @@ -791,9 +791,9 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<glassfish.home>${project.build.directory}/payara6</glassfish.home>
</systemPropertyVariables>
<environmentVariables>
<GLASSFISH_HOME>${project.build.directory}/payara6</GLASSFISH_HOME>
</environmentVariables>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public abstract class OptimusFacesIT {
@BeforeAll
public void setup() {
WebDriverManager.chromedriver().setup();
var chrome = new ChromeDriver(new ChromeOptions().addArguments("--no-sandbox"/*, "--headless"*/));
var chrome = new ChromeDriver(new ChromeOptions().addArguments("--no-sandbox", "--headless"));
chrome.setLogLevel(Level.INFO);
browser = chrome;
PageFactory.initElements(browser, this);
Expand Down

0 comments on commit eecc8a4

Please sign in to comment.