mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-5343] refactor Playwright framework in ACA (#3261)
* [ACS-5343] refactor Playwright framework in ACA * Add the tests for Actions, from the Adam PR [ACS-5328] * Small fixes * Improve logs * [ACS-5343] adding-goThroughPages-and-delete * [ACS-5343] added git changes * [ACS-5343] added git changes for playwright * [ACS-5343] fix for e2e * [ACS-5343] e2e protractor path fix * remove import * [ACS-5343] e2e playwright user fix * [ACS-5343] e2e playwright user ids fix * [ACS-5343] e2e playwright users ids fix * changes for git * fix playwright test run * tsconfig path fix * playwright action yml added * retrigger checks * add test id from testrail * merge conflits * fix gha * fix credentials --------- Co-authored-by: adam.zakrzewski <adam.zakrzewski@hyland.com> Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com> Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
This commit is contained in:
co-authored by
adam.zakrzewski
akash.rathod@hyland.com
Denys Vuika
parent
e0a74d7fb9
commit
c843a8dbaa
@@ -13,6 +13,14 @@ env:
|
||||
APP_CONFIG_ECM_HOST: ${{ secrets.PIPELINE_ENV_URL }}
|
||||
ADMIN_EMAIL: ${{ secrets.PIPELINE_ADMIN_USERNAME }}
|
||||
ADMIN_PASSWORD: ${{ secrets.PIPELINE_ADMIN_PASSWORD }}
|
||||
HR_USER: ${{ secrets.HR_USER }}
|
||||
HR_USER_PASSWORD: ${{ secrets.HR_USER_PASSWORD }}
|
||||
SUPERADMIN_EMAIL: ${{ secrets.SUPERADMIN_EMAIL }}
|
||||
SUPERADMIN_PASSWORD: ${{ secrets.SUPERADMIN_PASSWORD }}
|
||||
IDENTITY_USER_EMAIL: ${{ secrets.IDENTITY_USER_EMAIL }}
|
||||
IDENTITY_USER_PASSWORD: ${{ secrets.IDENTITY_USER_PASSWORD }}
|
||||
CONTENT_IDENTITY_USERNAME: ${{ secrets.CONTENT_IDENTITY_USERNAME }}
|
||||
CONTENT_IDENTITY_PASSWORD: ${{ secrets.CONTENT_IDENTITY_PASSWORD }}
|
||||
SCREENSHOT_USERNAME: ${{ secrets.SCREENSHOT_USERNAME }}
|
||||
SCREENSHOT_PASSWORD: ${{ secrets.SCREENSHOT_PASSWORD}}
|
||||
AWS_REGION: "eu-west-2"
|
||||
@@ -177,8 +185,16 @@ jobs:
|
||||
|
||||
e2es-playwright:
|
||||
needs: [lint, build, unit-tests]
|
||||
name: 'E2e test suites: Folder Rules - Playwright'
|
||||
name: 'E2e test suites: Playwright'
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
e2e-suites:
|
||||
- name: "actions"
|
||||
id: 1
|
||||
- name: "folder-rules"
|
||||
id: 2
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
@@ -203,10 +219,10 @@ jobs:
|
||||
- name: before playwright
|
||||
shell: bash
|
||||
run: npx playwright install chromium
|
||||
- uses: ./.github/actions/run-e2e
|
||||
- uses: ./.github/actions/run-e2e-playwright
|
||||
with:
|
||||
options: "e2e/playwright/tests/folder-rules/playwright.config.ts"
|
||||
artifact-name: folder-rules
|
||||
options: "${{ matrix.e2e-suites.name }}"
|
||||
artifact-name: ${{ matrix.e2e-suites.name }}
|
||||
test-runner: playwright
|
||||
- uses: ./.github/actions/after-e2e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user