diff --git a/src/main/resources/application-dev.yaml b/src/main/resources/application-dev.yaml index 47fbb02..54b155f 100644 --- a/src/main/resources/application-dev.yaml +++ b/src/main/resources/application-dev.yaml @@ -1,2 +1,2 @@ server: - port: 8080 \ No newline at end of file + port: 8081 \ No newline at end of file diff --git a/src/main/resources/application-prod.yaml b/src/main/resources/application-prod.yaml index 3621202..2160b2f 100644 --- a/src/main/resources/application-prod.yaml +++ b/src/main/resources/application-prod.yaml @@ -1,2 +1,2 @@ server: - port: 9001 \ No newline at end of file + port: 9012 \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..4e215e0 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,3 @@ +server.port=8081 +spring.application.name=calculator-app +logging.level.org.springframework.web=DEBUG diff --git a/src/test/java/tech/zerofiltre/testing/calcul/e2e/MultiplicationJourneyE2ETest.java b/src/test/java/tech/zerofiltre/testing/calcul/e2e/MultiplicationJourneyE2ETest.java index 73d7765..c2da696 100644 --- a/src/test/java/tech/zerofiltre/testing/calcul/e2e/MultiplicationJourneyE2ETest.java +++ b/src/test/java/tech/zerofiltre/testing/calcul/e2e/MultiplicationJourneyE2ETest.java @@ -32,12 +32,13 @@ static void setUpFireFoxDriver() { } @BeforeEach + void setUpWebDriver() { webDriver = new FirefoxDriver(); - baseUrl = "http://localhost:" + port + "/calculator"; - + baseUrl = "http://172.20.10.4:" + port + "/calculator"; } + @AfterEach void quitWebDriver() { if (webDriver != null) {