Skip to content

Commit

Permalink
build fix (#14)
Browse files Browse the repository at this point in the history
 trying with headless edge
  • Loading branch information
gtiwari333 authored Dec 25, 2023
1 parent 1bdcb58 commit 56448e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: browser-actions/setup-chrome@v1
- uses: browser-actions/setup-edge@v1

- name: Set up JDK 21
uses: actions/setup-java@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public abstract class BaseSeleniumTest {

@BeforeAll
public static void init() {
Configuration.headless = false;
Configuration.browser = Browsers.CHROME;
Configuration.headless = true;
Configuration.browser = Browsers.EDGE;
}

@BeforeEach
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SampleTest {
static void setup() {
Configuration.baseUrl = "https://en.wikipedia.org/wiki/Main_Page";
Configuration.headless = true;
Configuration.browser = Browsers.CHROME;
Configuration.browser = Browsers.EDGE;
}

@Test
Expand Down
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,9 @@
<springdoc-openapi-ui.version>2.3.0</springdoc-openapi-ui.version>
<mapstruct.version>1.6.0.Beta1</mapstruct.version>

<selenide.version>7.0.1</selenide.version>
<!-- selenide generally uses new selenium. Spring Boot Dep Mgmt still provides older version -->
<selenium.version>4.13.0</selenium.version>
<selenide.version>7.0.4</selenide.version>

<google-guava.version>32.1.3-jre</google-guava.version>
<google-guava.version>33.0.0-jre</google-guava.version>
<wro4j.version>1.9.0</wro4j.version>
<archunit.version>1.2.1</archunit.version>
<testcontainers.version>1.19.3</testcontainers.version>
Expand Down

0 comments on commit 56448e7

Please sign in to comment.