Skip to content

Commit

Permalink
fix prject
Browse files Browse the repository at this point in the history
  • Loading branch information
rieckpil committed Jan 29, 2024
1 parent bb53e73 commit dbe2423
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 32 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>**/*IT.java</include>
<include>**/*WT.java</include>
</includes>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
1 change: 0 additions & 1 deletion testcontainers-reuse-existing-containers/.java-version

This file was deleted.

11 changes: 1 addition & 10 deletions testcontainers-reuse-existing-containers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
<name>testcontainers-reuse-existing-containers</name>
<description>Reuse existing Containers with Testcontainers</description>

<properties>
<testcontainers.version>1.16.2</testcontainers.version>
</properties>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down Expand Up @@ -52,12 +48,7 @@
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
<!-- inherited from parent -->
</build>

</project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package de.rieckpil.blog;

import javax.persistence.*;
import jakarta.persistence.*;
import java.time.LocalDateTime;

@Entity
Expand Down
17 changes: 1 addition & 16 deletions write-concise-web-tests-with-selenide/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,21 +56,6 @@
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M5</version>
<configuration>
<includes>
<include>**/*WT.java</include>
</includes>
</configuration>
</plugin>
</plugins>
<!-- inherited from parent -->
</build>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.openqa.selenium.remote.RemoteWebDriver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.boot.test.web.server.LocalServerPort;
import org.springframework.core.env.Environment;
import org.testcontainers.Testcontainers;
import org.testcontainers.containers.BrowserWebDriverContainer;
Expand All @@ -30,7 +30,7 @@ class BookStoreTestcontainersWT {
System.getProperty("os.arch").equals("aarch64") ?
DockerImageName.parse("seleniarm/standalone-chromium")
.asCompatibleSubstituteFor("selenium/standalone-chrome")
: DockerImageName.parse("selenium/standalone-chrome:4.3.0-20220726")
: DockerImageName.parse("selenium/standalone-chrome")
)
.withCapabilities(new ChromeOptions()
.addArguments("--no-sandbox")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.openqa.selenium.By;
import org.openqa.selenium.chrome.ChromeOptions;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.boot.test.web.server.LocalServerPort;

import static com.codeborne.selenide.Selenide.*;
import static org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import org.openqa.selenium.remote.RemoteWebDriver;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.web.server.LocalServerPort;
import org.springframework.boot.test.web.server.LocalServerPort;
import org.springframework.core.env.Environment;
import org.testcontainers.containers.BrowserWebDriverContainer;
import org.testcontainers.junit.jupiter.Testcontainers;
Expand Down

0 comments on commit dbe2423

Please sign in to comment.