File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -351,7 +351,10 @@ test.describe("Authenticated Feed Page (Articles)", () => {
351351 // Article is already bookmarked - unbookmark then rebookmark to test the flow
352352 await savedButton . scrollIntoViewIfNeeded ( ) ;
353353 await Promise . all ( [
354- page . waitForResponse ( resp => resp . url ( ) . includes ( 'trpc' ) && resp . url ( ) . includes ( 'bookmark' ) ) ,
354+ page . waitForResponse (
355+ ( resp ) =>
356+ resp . url ( ) . includes ( "trpc" ) && resp . url ( ) . includes ( "bookmark" ) ,
357+ ) ,
355358 savedButton . click ( ) ,
356359 ] ) ;
357360 await expect ( saveButton ) . toBeVisible ( { timeout : 15000 } ) ;
@@ -362,7 +365,10 @@ test.describe("Authenticated Feed Page (Articles)", () => {
362365 await expect ( saveButton ) . toBeEnabled ( { timeout : 5000 } ) ;
363366 await saveButton . scrollIntoViewIfNeeded ( ) ;
364367 await Promise . all ( [
365- page . waitForResponse ( resp => resp . url ( ) . includes ( 'trpc' ) && resp . url ( ) . includes ( 'bookmark' ) ) ,
368+ page . waitForResponse (
369+ ( resp ) =>
370+ resp . url ( ) . includes ( "trpc" ) && resp . url ( ) . includes ( "bookmark" ) ,
371+ ) ,
366372 saveButton . click ( ) ,
367373 ] ) ;
368374
Original file line number Diff line number Diff line change @@ -52,7 +52,10 @@ test.describe("Authenticated Saved Page", () => {
5252 if ( isSaved ) {
5353 await savedButton . scrollIntoViewIfNeeded ( ) ;
5454 await Promise . all ( [
55- page . waitForResponse ( resp => resp . url ( ) . includes ( 'trpc' ) && resp . url ( ) . includes ( 'bookmark' ) ) ,
55+ page . waitForResponse (
56+ ( resp ) =>
57+ resp . url ( ) . includes ( "trpc" ) && resp . url ( ) . includes ( "bookmark" ) ,
58+ ) ,
5659 savedButton . click ( ) ,
5760 ] ) ;
5861 await expect ( saveButton ) . toBeVisible ( { timeout : 10000 } ) ;
@@ -62,7 +65,10 @@ test.describe("Authenticated Saved Page", () => {
6265 await expect ( saveButton ) . toBeVisible ( { timeout : 15000 } ) ;
6366 await saveButton . scrollIntoViewIfNeeded ( ) ;
6467 await Promise . all ( [
65- page . waitForResponse ( resp => resp . url ( ) . includes ( 'trpc' ) && resp . url ( ) . includes ( 'bookmark' ) ) ,
68+ page . waitForResponse (
69+ ( resp ) =>
70+ resp . url ( ) . includes ( "trpc" ) && resp . url ( ) . includes ( "bookmark" ) ,
71+ ) ,
6672 saveButton . click ( ) ,
6773 ] ) ;
6874
You can’t perform that action at this time.
0 commit comments