Skip to content

Commit 05311c4

Browse files
committed
Make playwright run faster
1 parent 1e34536 commit 05311c4

File tree

6 files changed

+5
-10
lines changed

6 files changed

+5
-10
lines changed

.github/workflows/jobs.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,11 +1347,6 @@ jobs:
13471347
run: |
13481348
(./console server) & (make initialize-permissions)
13491349
1350-
- name: Start Browser at port 5005
1351-
run: |
1352-
echo "yarn playwright"
1353-
(cd $GITHUB_WORKSPACE/portal-ui; yarn playwright) & (sleep 120) # To start port 5005 with Istanbul Plugin Injected
1354-
13551350
- name: Run Playwright tests
13561351
run: |
13571352
echo "Run tests under playwright folder only"

portal-ui/e2e/auth.setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { minioadminFile } from "./consts";
1818

1919
setup("authenticate as admin", async ({ page }) => {
2020
// Perform authentication steps. Replace these actions with your own.
21-
await page.goto("http://localhost:5005");
21+
await page.goto("http://localhost:9090");
2222
await page.getByPlaceholder("Username").click();
2323
await page.getByPlaceholder("Username").fill("minioadmin");
2424
await page.getByPlaceholder("Password").click();

portal-ui/e2e/buckets.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { minioadminFile } from "./consts";
2020
test.use({ storageState: minioadminFile });
2121

2222
test.beforeEach(async ({ page }) => {
23-
await page.goto("http://localhost:5005/");
23+
await page.goto("http://localhost:9090/");
2424
});
2525

2626
test("create a new bucket", async ({ page }) => {

portal-ui/e2e/groups.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { minioadminFile } from "./consts";
2121
test.use({ storageState: minioadminFile });
2222

2323
test.beforeEach(async ({ page }) => {
24-
await page.goto("http://localhost:5005/");
24+
await page.goto("http://localhost:9090/");
2525
});
2626

2727
test("Add a new group", async ({ page }) => {

portal-ui/e2e/login.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test, expect } from "@playwright/test";
22

33
test("Basic `minioadmin` Login", async ({ page, context }) => {
4-
await page.goto("http://localhost:5005");
4+
await page.goto("http://localhost:9090");
55
await page.getByPlaceholder("Username").click();
66
await page.getByPlaceholder("Username").fill("minioadmin");
77
await page.getByPlaceholder("Password").click();

portal-ui/e2e/policies.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { minioadminFile } from "./consts";
2020
test.use({ storageState: minioadminFile });
2121

2222
test.beforeEach(async ({ page }) => {
23-
await page.goto("http://localhost:5005/");
23+
await page.goto("http://localhost:9090/");
2424
});
2525

2626
test("Can create a policy", async ({ page }) => {

0 commit comments

Comments
 (0)