@@ -25,7 +25,7 @@ name: cypress-e2e-testing master
2525services :
2626   #  nextcloud server
2727  - name : server 
28-     image : nextcloudci/server:server-15  
28+     image : nextcloudci/server:server-16  
2929    commands :
3030      #  Add app sources to the app directory
3131      - export BRANCH=$DRONE_TARGET_BRANCH 
@@ -37,7 +37,7 @@ services:
3737      - chown -R www-data:www-data /var/www/html/data 
3838
3939       #  Install nextcloud, watch logs and run apache
40-       - bash /usr/local/bin/initnc .sh 
40+       - bash /usr/local/bin/initAndRun .sh 
4141
4242steps :
4343  #  clone and build the app
@@ -57,14 +57,13 @@ steps:
5757  - name : wait-on-server 
5858    image : nextcloudci/node:node-5 
5959    environment :
60-       CYPRESS_baseUrl : http://server/index.php/ 
61-       LOGIN : login 
60+       CYPRESS_baseUrl : http://server/index.php 
6261    commands :
63-       - WAIT_ON=$CYPRESS_baseUrl$LOGIN  
62+       - WAIT_ON=$CYPRESS_baseUrl 
6463      #  Add app sources to the app directory
6564      - echo "Waiting for $WAIT_ON" 
6665      - npm install -g wait-on 
67-       - wait-on -i 500 -t 300000  $WAIT_ON 
66+       - wait-on -i 500 -t 120000  $WAIT_ON 
6867
6968  - name : testing 1 
7069    image : cypress/browsers:chrome69 
9190      CYPRESS_baseUrl : http://server/index.php/ 
9291      LOGIN : login 
9392    commands :
94-       - export DEBUG=cypress:* 
9593      - cd /drone/src 
9694      - $(npm bin)/cypress run --record --key $CYPRESS_RECORD_TOKEN --parallel --ci-build-id ci-$DRONE_BUILD_NUMBER-master 
9795
@@ -120,7 +118,6 @@ steps:
120118      CYPRESS_baseUrl : http://server/index.php/ 
121119      LOGIN : login 
122120    commands :
123-       - export DEBUG=cypress:* 
124121      - cd /drone/src 
125122      - $(npm bin)/cypress run --record --key $CYPRESS_RECORD_TOKEN --parallel --ci-build-id ci-$DRONE_BUILD_NUMBER-master 
126123
@@ -149,7 +146,6 @@ steps:
149146      CYPRESS_baseUrl : http://server/index.php/ 
150147      LOGIN : login 
151148    commands :
152-       - export DEBUG=cypress:* 
153149      - cd /drone/src 
154150      - $(npm bin)/cypress run --record --key $CYPRESS_RECORD_TOKEN --parallel --ci-build-id ci-$DRONE_BUILD_NUMBER-master 
155151
@@ -178,7 +174,6 @@ steps:
178174      CYPRESS_baseUrl : http://server/index.php/ 
179175      LOGIN : login 
180176    commands :
181-       - export DEBUG=cypress:* 
182177      - cd /drone/src 
183178      - $(npm bin)/cypress run --record --key $CYPRESS_RECORD_TOKEN --parallel --ci-build-id ci-$DRONE_BUILD_NUMBER-master 
184179
0 commit comments