File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "baseBranch" : " main" ,
1414 "updateInternalDependencies" : " patch" ,
1515 "ignore" : [
16- " ping-javascript-sdk" ,
1716 " scratchpad" ,
1817 " @forgerock/pingone-scripts" ,
1918 " @forgerock/device-client" ,
Original file line number Diff line number Diff line change 5050
5151 - run : pnpm exec nx-cloud record -- nx format:check
5252 - run : pnpm exec nx affected -t build typecheck lint test e2e-ci
53+ - run : npx nx-cloud fix-ci
54+ if : always()
5355
5456 - uses : codecov/codecov-action@v5
5557 with :
Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ test.describe('Logout tests', () => {
3838
3939 await page . getByLabel ( 'User Name' ) . fill ( pingAmUsername ) ;
4040 await page . getByRole ( 'textbox' , { name : 'Password' } ) . fill ( pingAmPassword ) ;
41+ const amNavigation = page . waitForURL ( 'http://localhost:8443/ping-am/**' ) ;
4142 await page . getByRole ( 'button' , { name : 'Next' } ) . click ( ) ;
42-
43- await page . waitForURL ( 'http://localhost:8443/ping-am/**' ) ;
43+ await amNavigation ;
4444 expect ( page . url ( ) ) . toContain ( 'code' ) ;
4545 expect ( page . url ( ) ) . toContain ( 'state' ) ;
4646 await expect ( page . getByRole ( 'button' , { name : 'Login (Background)' } ) ) . toBeHidden ( ) ;
@@ -74,9 +74,9 @@ test.describe('Logout tests', () => {
7474
7575 await page . getByLabel ( 'Username' ) . fill ( pingOneUsername ) ;
7676 await page . getByRole ( 'textbox' , { name : 'Password' } ) . fill ( pingOnePassword ) ;
77+ const p1Navigation = page . waitForURL ( 'http://localhost:8443/ping-one/**' ) ;
7778 await page . getByRole ( 'button' , { name : 'Sign On' } ) . click ( ) ;
78-
79- await page . waitForURL ( 'http://localhost:8443/ping-one/**' ) ;
79+ await p1Navigation ;
8080 expect ( page . url ( ) ) . toContain ( 'code' ) ;
8181 expect ( page . url ( ) ) . toContain ( 'state' ) ;
8282 await expect ( page . getByRole ( 'button' , { name : 'Login (Background)' } ) ) . toBeHidden ( ) ;
You can’t perform that action at this time.
0 commit comments