diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 41a1d60893bd60e40e8b6ab67318a4c2fe88b50f..721f3750a96731d9deac05c2d2df13dcfa22006a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,10 +29,10 @@ e2e-test-ff-job:    # This job runs in the test stage.
   image: cypress/browsers:latest
   stage: test    # It only starts when the job in the build stage completes successfully.
   script:
-    - npx cypress run --port 5173 --browser firefox
+    - npx cypress run --port 4173 --browser firefox
 
 e2e-test-chrome-job:    # This job runs in the test stage.
   image: cypress/browsers:latest
   stage: test    # It only starts when the job in the build stage completes successfully.
   script:
-    - npx cypress run --port 5173 --browser chrome
+    - npx cypress run --port 4173 --browser chrome