From 5c54876b5e7e2230066821d379d2a23dcaf9eff9 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 16 Dec 2020 17:50:48 +0545 Subject: [PATCH] [tests-only] Bump webCommit for UI tests (#1115) * Bump webCommit for UI tests * copy filesForUpload after checking out the web commit --- .drone.star | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.star b/.drone.star index 890540559c..e0232a5074 100644 --- a/.drone.star +++ b/.drone.star @@ -22,7 +22,7 @@ config = { }, 'uiTests': { 'webBranch': 'master', - 'webCommit': 'a96ce8dfa86dc668b620b609830b75dfa4c07a3d', + 'webCommit': '5dae1886973ddbab0243e364800fa207fb716a20', 'suites': { 'webUIBasic': [ 'webUILogin', @@ -624,11 +624,11 @@ def uiTestPipeline(ctx, suiteName, webBranch = 'master', webCommit = '', storage 'commands': [ 'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing', 'git clone -b %s --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web' % (webBranch), - 'cp -r /srv/app/web/tests/acceptance/filesForUpload/* /uploads', 'cd /srv/app/web', ] + ([ 'git checkout %s' % (webCommit) ] if webCommit != '' else []) + [ + 'cp -r tests/acceptance/filesForUpload/* /uploads', 'yarn install-all', 'yarn run acceptance-tests-drone' ], @@ -691,11 +691,11 @@ def accountsUITests(ctx, webBranch, webCommit, storage = 'owncloud', accounts_ha 'commands': [ 'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing', 'git clone -b %s --single-branch --no-tags https://github.com/owncloud/web.git /srv/app/web' % (webBranch), - 'cp -r /srv/app/web/tests/acceptance/filesForUpload/* /uploads', 'cd /srv/app/web', ] + ([ 'git checkout %s' % (webCommit) ] if webCommit != '' else []) + [ + 'cp -r tests/acceptance/filesForUpload/* /uploads', 'yarn install-all', 'cd /drone/src/accounts', 'yarn install --all',