Skip to content

Commit 1e55f0a

Browse files
committed
updated the baseurl for running tests in github actions
1 parent 11cf04b commit 1e55f0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/maven.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: docker compose -f ./docker-compose-restfulbooker.yml up -d
3939

4040
- name: Start restful e-commerce service
41-
run: docker compose -f ./docker-compose-ecommerce.yml up --service-ports -d
41+
run: docker compose -f ./docker-compose-ecommerce.yml up -d
4242

4343
- name: Build Project
4444
run: mvn clean install -DskipTests

src/test/java/io/github/mfaisalkhatri/api/restfulecommerce/BaseTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class BaseTest {
1313

1414
protected Playwright playwright;
1515
protected APIRequestContext request;
16-
private static final String BASE_URL = "http://localhost:3004";
16+
private static final String BASE_URL = "http://restful-ecommerce:3004";
1717

1818
@BeforeClass
1919
public void setup() {

0 commit comments

Comments
 (0)