[tests-only] Bump webCommit for UI tests (#1115)

* Bump webCommit for UI tests

* copy filesForUpload after checking out the web commit
This commit is contained in:
Phil Davis authored and GitHub committed 2020-12-16 13:05:48 +01:00
1 parent e481eccbdf
commit 5c54876b5e
1 file changed
+3 -3
+3 -3
View File
@@ -22,7 +22,7 @@ config = {
}, },
'uiTests': { 'uiTests': {
'webBranch': 'master', 'webBranch': 'master',
'webCommit': 'a96ce8dfa86dc668b620b609830b75dfa4c07a3d', 'webCommit': '5dae1886973ddbab0243e364800fa207fb716a20',
'suites': { 'suites': {
'webUIBasic': [ 'webUIBasic': [
'webUILogin', 'webUILogin',
@@ -624,11 +624,11 @@ def uiTestPipeline(ctx, suiteName, webBranch = 'master', webCommit = '', storage
'commands': [ 'commands': [
'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing', '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), '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', 'cd /srv/app/web',
] + ([ ] + ([
'git checkout %s' % (webCommit) 'git checkout %s' % (webCommit)
] if webCommit != '' else []) + [ ] if webCommit != '' else []) + [
'cp -r tests/acceptance/filesForUpload/* /uploads',
'yarn install-all', 'yarn install-all',
'yarn run acceptance-tests-drone' 'yarn run acceptance-tests-drone'
], ],
@@ -691,11 +691,11 @@ def accountsUITests(ctx, webBranch, webCommit, storage = 'owncloud', accounts_ha
'commands': [ 'commands': [
'git clone -b master --depth=1 https://github.com/owncloud/testing.git /srv/app/testing', '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), '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', 'cd /srv/app/web',
] + ([ ] + ([
'git checkout %s' % (webCommit) 'git checkout %s' % (webCommit)
] if webCommit != '' else []) + [ ] if webCommit != '' else []) + [
'cp -r tests/acceptance/filesForUpload/* /uploads',
'yarn install-all', 'yarn install-all',
'cd /drone/src/accounts', 'cd /drone/src/accounts',
'yarn install --all', 'yarn install --all',