Skip to content

Commit 887ea2e

Browse files
committed
chore: fix saving playwright artifacts
1 parent 8506d34 commit 887ea2e

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,14 @@ runs:
6767
run: pnpm exec nx affected -t build lint test typecheck e2e-ci
6868
shell: bash
6969

70+
- name: List files
71+
run: ls -R e2e/oidc-suites/.playwright && ls -R e2e/protect-suites/.playwright
72+
7073
- name: Upload Playwright report
7174
uses: actions/upload-artifact@v5
7275
if: ${{ !cancelled() }}
7376
with:
7477
name: playwright-report
75-
path: |
76-
./e2e/*/.playwright/**
77-
./e2e/**/.playwright/**
78+
path: e2e/*/.playwright
7879
retention-days: 30
80+
include-hidden-files: true

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ jobs:
129129

130130
- name: Publish packages snapshot with npm_tag
131131
id: npmpublish
132-
# run: pnpm publish -r --tag ${{ inputs.npm_tag }} --no-git-checks --access ${{ inputs.npm_access }}
133-
run: echo "Skipping npm publish"
132+
run: pnpm publish -r --tag ${{ inputs.npm_tag }} --no-git-checks --access ${{ inputs.npm_access }}
134133

135134
- name: Format published packages for Slack
136135
if: steps.npmpublish.outcome == 'success'

e2e/oidc-suites/src/login.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test.describe('PingAM login and get token tests', () => {
2020
const { clickWithRedirect, navigate } = asyncEvents(page);
2121
await navigate('/ping-am/');
2222

23-
await clickWithRedirect('Login (Background)', '**/am/XUI/**');
23+
await clickWithRedirect('Login (Background-zzz)', '**/am/XUI/**');
2424

2525
await page.getByLabel('User Name').fill(pingAmUsername);
2626
await page.getByRole('textbox', { name: 'Password' }).fill(pingAmPassword);

e2e/protect-suites/src/protect-native.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test.describe('Test basic login flow with Ping Protect', () => {
2525
await page.goto('/protect-native.html');
2626
await expect(page.url()).toBe('http://localhost:8443/protect-native.html');
2727

28-
await expect(page.getByText('Ping Protect Native')).toBeVisible();
28+
await expect(page.getByText('Ping Protect Native - zzz')).toBeVisible();
2929
await expect(page.getByText('Protect initializing')).toBeVisible();
3030

3131
await page.getByPlaceholder('Username').fill(username);

0 commit comments

Comments
 (0)