mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
- Migrates Angular test app tests from Cypress to Playwright - Resolves test TODOs with Angular 18 - Resolves nav TODO by adding in standalone components - Updates browserslist to remove warnings --------- Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
name: 'Test Angular E2E'
|
|
description: 'Test Angular E2E'
|
|
inputs:
|
|
app:
|
|
description: 'The specific test application'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22.x
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-core
|
|
path: ./core
|
|
filename: CoreBuild.zip
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-angular
|
|
path: ./angular
|
|
filename: AngularBuild.zip
|
|
- uses: ./.github/workflows/actions/download-archive
|
|
with:
|
|
name: ionic-angular-server
|
|
path: ./packages/angular-server
|
|
filename: AngularServerBuild.zip
|
|
- name: Create Test App
|
|
run: ./build.sh ${{ inputs.app }}
|
|
shell: bash
|
|
working-directory: ./packages/angular/test
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
shell: bash
|
|
working-directory: ./packages/angular/test/build/${{ inputs.app }}
|
|
- name: Install Playwright Browsers
|
|
run: npx playwright install
|
|
shell: bash
|
|
working-directory: ./packages/angular/test/build/${{ inputs.app }}
|
|
- name: Sync Built Changes
|
|
run: npm run sync
|
|
shell: bash
|
|
working-directory: ./packages/angular/test/build/${{ inputs.app }}
|
|
- name: Run Tests
|
|
run: npm run test
|
|
shell: bash
|
|
working-directory: ./packages/angular/test/build/${{ inputs.app }}
|