Skip to content

Commit a686cd0

Browse files
KasinhouMatus Kasakclaude
authored
Remove UI-test config copy - config now in dspace-ui-tests (#1359)
* 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.vsb-tuo.ui.tests.json and the two now-unused steps. 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 414ba59 commit a686cd0

2 files changed

Lines changed: 2 additions & 29 deletions

File tree

.github/workflows/playwright-tests.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,16 @@ 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.vsb-tuo.ui.tests.json dspace-ui-tests/customer-constants/
27-
2819
- name: test
2920
working-directory: dspace-ui-tests/scripts
3021
env:
3122
HOME_URL: http://dev-6.pc:8563/
3223
NAME: VSB-TUO
24+
PASSWORD_ADMIN: ${{ secrets.DSPACE_ADMIN_PASSWORD }}
3325
run: |
3426
./test.sh
3527
3628
- uses: mazoea/ga-maz/end@master
3729
with:
3830
CHOWN_DIR: ./
39-
if: ${{ always() }}
31+
if: ${{ always() }}

config/config.vsb-tuo.ui.tests.json

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

0 commit comments

Comments
 (0)