From d52059a7fb0af4166521ef34f37392c247a6ba1d Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Wed, 6 Sep 2023 18:39:03 +0300 Subject: [PATCH] Selenium refuses to work, Playwright it shall be --- .github/workflows/ci-build.yml | 2 +- pom.xml | 31 +++++++++++++-- src/main/resources/application.properties | 6 +++ .../org/example/TrivialWebDriverTest.java | 38 +++++++++++++++++++ 4 files changed, 72 insertions(+), 5 deletions(-) create mode 100644 src/main/resources/application.properties create mode 100644 src/test/java/org/example/TrivialWebDriverTest.java diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index aeb8808..5700e1c 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -15,4 +15,4 @@ jobs: java-version: '17' distribution: 'temurin' - name: Build with Maven - run: mvn --batch-mode install + run: mvn --batch-mode install -PallTests diff --git a/pom.xml b/pom.xml index 8a859dd..0f404cf 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,7 @@ 17 24.1.8 + IntegrationTest @@ -32,10 +33,6 @@ - - com.vaadin - vaadin-core - com.vaadin vaadin-spring-boot-starter @@ -65,6 +62,17 @@ 0.0.2 + + com.microsoft.playwright + playwright + 1.36.0 + + + + org.springframework.boot + spring-boot-starter-test + test + @@ -80,10 +88,25 @@ 240 + + org.apache.maven.plugins + maven-surefire-plugin + 3.1.2 + + ${project.tests.exclude} + + + + + allTests + + + +