diff --git a/.env b/.env
index 76fb1c33e66aa12e18d0e8ed867feadea3406abc..4eef1e7f7a4b3f024e3155d7c95cf5630a2f90ab 100644
--- a/.env
+++ b/.env
@@ -1,6 +1,6 @@
 # Wir verwenden das Frontend als Proxy, siehe package.json
 # Daher ist hier der API-Server das Frontend
-REACT_APP_API_SERVER_URL=http://127.0.0.1:80
+REACT_APP_API_SERVER_URL=http://localhost:80
 # cf. https://github.com/facebook/create-react-app/issues/11762
 # related to proxy-setting in package.json
 DANGEROUSLY_DISABLE_HOST_CHECK=true
diff --git a/src/test/LoginTest.test.ts b/src/test/LoginTest.test.ts
index 4a9b17fc11544648fe1f59b3f339076765b9bfee..be68ad8718d444632f7aad80c7e4e411a8a34b9c 100644
--- a/src/test/LoginTest.test.ts
+++ b/src/test/LoginTest.test.ts
@@ -19,7 +19,7 @@ describe("Login Test", function () {
     if (PIPELINE_TEST === "false") {
       driver = await new Builder()
         .forBrowser("chrome")
-        .setChromeOptions(new chrome.Options().headless().windowSize({ width: 1920, height: 1080 }))
+        .setChromeOptions(new chrome.Options().headless())
         .build();
       await driver.get(`http://localhost:3000`);
       await driver.manage().window().maximize();
@@ -45,10 +45,6 @@ describe("Login Test", function () {
     const loginButton = await driver.findElement(By.id("loginButton"));
     await loginButton.click();
     await driver.wait(until.elementLocated(By.id("loginDialog")),10000);
-
-    // Überprüfe, ob der Dialog geöffnet wurde
-    const isDialogOpen = await driver.findElement(By.id("loginDialog")).isDisplayed();
-    assert.strictEqual(isDialogOpen, true, "Der Dialog wurde nicht geöffnet.");
     
     const inputMail = await driver.findElement(By.id("inputEmail"));
     const inputPassword = await driver.findElement(By.id("inputPassword"));
diff --git a/src/test/UserManagement.test.ts b/src/test/UserManagement.test.ts
index 8776fad9c40f60185966732d7c0b6e3f6ac0800a..997520098281857b479eafb64c313c4f06111294 100644
--- a/src/test/UserManagement.test.ts
+++ b/src/test/UserManagement.test.ts
@@ -38,7 +38,7 @@ describe("User Management Test", function () {
       }
       driver = await builder.build();
       await driver.get(BASE_URL);
-      driver.manage().window().maximize();
+      await driver.manage().window().maximize();
     }
 
     const loginButton = await driver.findElement(By.id("loginButton"));
@@ -46,9 +46,6 @@ describe("User Management Test", function () {
 
     await driver.wait(until.elementLocated(By.id("loginDialog")),10000);
 
-    const isDialogOpen = await driver.findElement(By.id("loginDialog")).isDisplayed();
-    assert.strictEqual(isDialogOpen, true, "Der Dialog wurde nicht geöffnet.");
-
     const inputMail = await driver.findElement(By.id("inputEmail"));
     await inputMail.sendKeys("john@some-host.de");
     const inputPassword = await driver.findElement(By.id("inputPassword"));