Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
env:
NX_CLOUD_DISTRIBUTED_EXECUTION: false

- run: pnpm pkg-pr-new publish './packages/*' './packages/sdk-effects/*' --packageManager=pnpm

- name: build docs
run: pnpm generate-docs

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ jobs:
HOME: ${{ github.workspace }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

- run: pnpm pkg-pr-new publish './packages/*' './packages/sdk-effects/*' --packageManager=pnpm --comment=off
if: steps.changesets.outputs.published == 'false'

- name: Send GitHub Action data to a Slack workflow
if: steps.changesets.outputs.published == 'true'
uses: slackapi/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://github.com/ForgeRock/ping-javascript-sdk/actions/workflows/ci.yaml/badge.svg)](https://github.com/ForgeRock/ping-javascript-sdk/actions/workflows/ci.yaml)
[![pkg.pr.new](https://pkg.pr.new/badge/ForgeRock/ping-javascript-sdk)](https://pkg.pr.new/~/ForgeRock/ping-javascript-sdk)
[![Build Status](https://github.com/ForgeRock/ping-javascript-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/ForgeRock/ping-javascript-sdk/actions/workflows/ci.yml)

<p align="center">
<a href="https://github.com/ForgeRock/ping-javascript-sdk">
Expand Down
14 changes: 8 additions & 6 deletions e2e/oidc-suites/src/logout.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ test.describe('Logout tests', () => {

await page.getByLabel('User Name').fill(pingAmUsername);
await page.getByRole('textbox', { name: 'Password' }).fill(pingAmPassword);
const amNavigation = page.waitForURL('http://localhost:8443/ping-am/**');
await page.getByRole('button', { name: 'Next' }).click();
await amNavigation;
await Promise.all([
page.waitForURL('http://localhost:8443/ping-am/**'),
page.getByRole('button', { name: 'Next' }).click(),
]);
expect(page.url()).toContain('code');
expect(page.url()).toContain('state');
await expect(page.getByRole('button', { name: 'Login (Background)' })).toBeHidden();
Expand Down Expand Up @@ -74,9 +75,10 @@ test.describe('Logout tests', () => {

await page.getByLabel('Username').fill(pingOneUsername);
await page.getByRole('textbox', { name: 'Password' }).fill(pingOnePassword);
const p1Navigation = page.waitForURL('http://localhost:8443/ping-one/**');
await page.getByRole('button', { name: 'Sign On' }).click();
await p1Navigation;
await Promise.all([
page.waitForURL('http://localhost:8443/ping-one/**'),
page.getByRole('button', { name: 'Sign On' }).click(),
]);
expect(page.url()).toContain('code');
expect(page.url()).toContain('state');
await expect(page.getByRole('button', { name: 'Login (Background)' })).toBeHidden();
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"ts-patch": "3.3.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.9",
Expand Down Expand Up @@ -81,6 +78,8 @@
"@types/estree": "^1.0.1",
"@types/express": "5.0.1",
"@types/node": "22.14.1",
"@typescript-eslint/eslint-plugin": "^8.45.0",
"@typescript-eslint/parser": "^8.45.0",
"@typescript-eslint/typescript-estree": "8.23.0",
"@typescript-eslint/utils": "^8.13.0",
"@vitest/coverage-v8": "^3.0.5",
Expand All @@ -102,12 +101,14 @@
"lint-staged": "^15.0.0",
"madge": "8.0.0",
"nx": "21.2.3",
"pkg-pr-new": "^0.0.51",
"playwright": "^1.47.2",
"prettier": "^3.2.5",
"shx": "^0.4.0",
"swc-loader": "0.2.6",
"ts-node": "10.9.2",
"tslib": "^2.5.0",
"ts-patch": "3.3.0",
"typedoc": "^0.27.4",
"typedoc-github-theme": "0.2.1",
"typedoc-plugin-rename-defaults": "^0.7.2",
Expand Down
Loading
Loading