Skip to content

Commit 7c15413

Browse files
KasinhouMatus Kasakclaude
authored
ZCU-PUB/Remove UI-test config copy - config now in dspace-ui-tests (#1361)
* Remove UI-test config copy; config now lives in dspace-ui-tests dspace-ui-tests bundles every customer config and selects it via the NAME env var, so this workflow no longer checks out this repo or copies the JSON. Deletes config/config.zcu-pub.ui.tests.json and the two now-unused steps. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Send NAME=ZCU-PUB so it maps directly to zcu-pub.json Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Pass PASSWORD_ADMIN from the DSPACE_ADMIN_PASSWORD secret The suite reads process.env.PASSWORD_ADMIN (SETTINGS.PASSWORD_ADMIN); source it from the existing dspace-angular secret DSPACE_ADMIN_PASSWORD. EMAIL_ADMIN is defaulted in the test code. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Matus Kasak <matus.kasak@dataquest.sk> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c77153c commit 7c15413

2 files changed

Lines changed: 3 additions & 33 deletions

File tree

.github/workflows/playwright-tests.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,15 @@ jobs:
1616
path: dspace-ui-tests
1717
token: ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }}
1818

19-
- name: Checkout main repository
20-
uses: actions/checkout@v4
21-
with:
22-
path: this-repository
23-
24-
- name: Copy customer config to UI tests repository for merging
25-
run: |
26-
cp this-repository/config/config.zcu-pub.ui.tests.json dspace-ui-tests/customer-constants/
2719
- name: test
2820
working-directory: dspace-ui-tests/scripts
2921
env:
3022
HOME_URL: http://dev-5.pc:84/
31-
NAME: ZCU
23+
NAME: ZCU-PUB
24+
PASSWORD_ADMIN: ${{ secrets.DSPACE_ADMIN_PASSWORD }}
3225
run: |
3326
./test.sh
3427
- uses: mazoea/ga-maz/end@master
3528
with:
3629
CHOWN_DIR: ./
37-
if: ${{ always() }}
30+
if: ${{ always() }}

config/config.zcu-pub.ui.tests.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)