Playwright tests #1364
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Playwright tests | |
| on: | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| playwright-tests: | |
| runs-on: dspace-test-1 | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout Playwright tests | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: dataquest-dev/dspace-ui-tests | |
| path: dspace-ui-tests | |
| token: ${{ secrets.DEPLOY_DEV5_GH_ACTION_DISPATCH }} | |
| - name: Checkout main repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: this-repository | |
| - name: Copy customer config to UI tests repository for merging | |
| run: | | |
| cp this-repository/config/config.zcu-pub.ui.tests.json dspace-ui-tests/customer-constants/ | |
| - name: test | |
| working-directory: dspace-ui-tests/scripts | |
| env: | |
| HOME_URL: http://dev-5.pc:84/ | |
| NAME: ZCU | |
| run: | | |
| ./test.sh | |
| - uses: mazoea/ga-maz/end@master | |
| with: | |
| CHOWN_DIR: ./ | |
| if: ${{ always() }} |