From 349c94ee23b45e141618fd1ff4dc5cf00e3c1109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 27 Apr 2022 10:30:31 +0200 Subject: [PATCH] Try with port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .github/workflows/cypress.yml | 8 ++++---- cypress.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index b0bc97882..0eb36969a 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -9,7 +9,7 @@ on: env: APP_NAME: deck - CYPRESS_baseUrl: http://nextcloud.local/index.php + CYPRESS_baseUrl: http://localhost:8081/index.php jobs: cypress: @@ -26,7 +26,7 @@ jobs: server-versions: [ 'master' ] steps: - - name: Set up custom host for nextcloud + - name: Set up custom host for nextcloud run: | sudo echo "127.0.0.1 nextcloud.local" | sudo tee -a /etc/hosts cat /etc/hosts @@ -75,13 +75,13 @@ jobs: php occ config:system:set memcache.local --value="\\OC\\Memcache\\APCu" php occ config:system:set debug --value=true --type=boolean php -f index.php - sudo php -S 0.0.0.0:80 & + php -S 0.0.0.0:8081 & export OC_PASS=1234561 php occ user:add --password-from-env user1 php occ user:add --password-from-env user2 php occ app:enable deck php occ app:list - curl -v http://nextcloud.local/index.php/login + curl -v http://localhost:8081/index.php/login cat data/nextcloud.log - name: Cypress run diff --git a/cypress.json b/cypress.json index 6f535d60f..b6fbba8dd 100644 --- a/cypress.json +++ b/cypress.json @@ -1,7 +1,7 @@ { "baseUrl": "http://nextcloud.local/index.php", - "projectId": "hx9gqy", + "projectId": "1s7wkc", "viewportWidth": 1280, "viewportHeight": 720, - "experimentalSessionSupport": true + "experimentalSessionAndOrigin": true }