Files
alfresco-content-app/.github/workflows/run-e2e-with-env.yml
dependabot[bot] af2807f5ff build(deps): Bump the github-actions group with 8 updates (#5261)
Bumps the github-actions group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `6` | `7` |
| [actions/cache](https://github.com/actions/cache) | `5` | `6` |
| [Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space](https://github.com/alfresco/alfresco-build-tools) | `18.7.0` | `18.13.0` |
| [Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs](https://github.com/alfresco/alfresco-build-tools) | `18.7.0` | `18.13.0` |
| [crowdin/github-action](https://github.com/crowdin/github-action) | `2.16.2` | `2.16.3` |
| [Alfresco/alfresco-build-tools/.github/actions/get-commit-message](https://github.com/alfresco/alfresco-build-tools) | `18.7.0` | `18.13.0` |
| [Alfresco/alfresco-build-tools/.github/actions/configure-git-author](https://github.com/alfresco/alfresco-build-tools) | `18.7.0` | `18.13.0` |
| [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) | `7.1.0` | `7.2.0` |


Updates `actions/checkout` from 6 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

Updates `actions/cache` from 5 to 6
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v5...v6)

Updates `Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space` from 18.7.0 to 18.13.0
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/a6a8be7429080c132815d0482a55ae4fd28f15ba...10cea6c0b390c4f8af21d9dc1670d581bd10319f)

Updates `Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs` from 18.7.0 to 18.13.0
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/a6a8be7429080c132815d0482a55ae4fd28f15ba...10cea6c0b390c4f8af21d9dc1670d581bd10319f)

Updates `crowdin/github-action` from 2.16.2 to 2.16.3
- [Release notes](https://github.com/crowdin/github-action/releases)
- [Commits](https://github.com/crowdin/github-action/compare/8868a33591d21088edfc398968173a3b98d51706...52aa776766211d83d975df51f3b9c53c2f8ba35f)

Updates `Alfresco/alfresco-build-tools/.github/actions/get-commit-message` from 18.7.0 to 18.13.0
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/a6a8be7429080c132815d0482a55ae4fd28f15ba...10cea6c0b390c4f8af21d9dc1670d581bd10319f)

Updates `Alfresco/alfresco-build-tools/.github/actions/configure-git-author` from 18.7.0 to 18.13.0
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/a6a8be7429080c132815d0482a55ae4fd28f15ba...10cea6c0b390c4f8af21d9dc1670d581bd10319f)

Updates `stefanzweifel/git-auto-commit-action` from 7.1.0 to 7.2.0
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/04702edda442b2e678b25b537cec683a1493fcb9...4a55954c782fc1ea30b9056cd3e7a2b40ca8887d)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/cache
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space
  dependency-version: 18.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs
  dependency-version: 18.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: crowdin/github-action
  dependency-version: 2.16.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: Alfresco/alfresco-build-tools/.github/actions/get-commit-message
  dependency-version: 18.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: Alfresco/alfresco-build-tools/.github/actions/configure-git-author
  dependency-version: 18.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-01 09:34:34 +02:00

140 lines
3.7 KiB
YAML

name: "Run e2e with Env"
run-name: "Run e2e with Env - ${{ inputs.url }}"
description: "Run e2e tests with environment variables"
on:
workflow_dispatch:
inputs:
url:
description: 'Application URL'
required: true
default: 'https://acadev.envalfresco.com'
playwright_e2e_host:
description: 'Playwright E2E host (e.g. https://acadev.envalfresco.com)'
required: false
default: 'http://localhost:4200'
env:
BASE_URL: ${{ inputs.url || secrets.PIPELINE_ENV_URL }}
ADMIN_EMAIL: ${{ secrets.PIPELINE_ADMIN_USERNAME }}
ADMIN_PASSWORD: ${{ secrets.PIPELINE_ADMIN_PASSWORD }}
HR_USER: hruser
HR_USER_PASSWORD: ${{ secrets.FRONTEND_TEST_USER_PASSWORD }}
PLAYWRIGHT_E2E_HOST: ${{ inputs.playwright_e2e_host || inputs.url || secrets.PLAYWRIGHT_E2E_HOST }}
GH_BUILD_NUMBER: ${{ github.run_id }}
REPORT_PORTAL_URL: ${{ secrets.REPORT_PORTAL_URL }}
REPORT_PORTAL_TOKEN: ${{ secrets.REPORT_PORTAL_TOKEN }}
MAXINSTANCES: 2
RETRY_COUNT: 2
jobs:
build:
name: 'build'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 2
- name: node
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
- uses: ./.github/actions/before-install
- run: npm ci
- run: npm run ci:build -- aca-playwright-shared
- run: npm run build -- $BUILD_OPTS
- name: dist cache
if: ${{ success() }}
uses: actions/cache/save@v6
with:
path: ./dist/content-ce
key: cache-dist-${{ github.run_id }}
e2es-playwright:
needs: [build]
name: 'E2E Playwright - ${{ matrix.e2e-suites.name }}'
runs-on: ubuntu-24.04
env:
NODE_OPTIONS: --dns-result-order=ipv4first
strategy:
fail-fast: false
matrix:
e2e-suites:
- name: "create-actions"
id: 1
- name: "folder-rules"
id: 2
- name: "viewer"
id: 3
- name: "authentication"
id: 4
- name: "navigation"
id: 5
- name: "special-permissions"
id: 6
- name: "pagination"
id: 7
- name: "list-views"
id: 8
- name: "share-action"
id: 9
- name: "copy-move-actions"
id: 10
- name: "library-actions"
id: 11
- name: "info-drawer"
id: 12
- name: "search"
id: 13
- name: "upload-download-actions"
id: 14
- name: "favorite-actions"
id: 15
- name: "delete-actions"
id: 16
- name: "edit-actions"
id: 17
- name: "smoke-test"
id: 18
- name: "folder-information-actions"
id: 19
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 2
- name: node
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
- uses: ./.github/actions/before-install
- run: npm ci
- uses: actions/cache/restore@v6
id: cache
with:
path: ./dist/content-ce
key: cache-dist-${{ github.run_id }}
- name: Before e2e
uses: ./.github/actions/before-e2e
- name: Before playwright
run: npm run ci:playwright:install
- uses: ./.github/actions/run-e2e-playwright
with:
options: "${{ matrix.e2e-suites.name }}"
artifact-name: ${{ matrix.e2e-suites.name }}
test-runner: playwright
- uses: ./.github/actions/after-e2e