File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ concurrency:
1818jobs :
1919 test :
2020 runs-on : ubuntu-22.04
21+ timeout-minutes : 120
2122 steps :
2223 - uses : actions/checkout@v4
2324 - name : Setup Node.js environment
8182
8283 test-some :
8384 runs-on : ubuntu-22.04
85+ timeout-minutes : 60
8486 steps :
8587 - uses : actions/checkout@v4
8688 - name : Setup Node.js environment
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export class Logic implements LogicInterface {
6464 } ) ;
6565 const first : User = docs . docs [ 0 ] as any ;
6666 if ( ! first ) {
67- console . log ( '# user document not found ' + userName ) ;
67+ console . log ( '# user document not found on getUserByName() ' + userName ) ;
6868 return null ;
6969 }
7070 return first ;
Original file line number Diff line number Diff line change @@ -50,11 +50,9 @@ function randMessage(
5050 } ;
5151}
5252
53- let lastUserId = 0 ;
5453function randUser ( ) : User {
55- lastUserId ++ ;
5654 return {
57- id : FakerName . firstName ( ) . toLowerCase ( ) + lastUserId ,
55+ id : FakerName . firstName ( ) . toLowerCase ( ) ,
5856 createdAt : unixInSeconds ( )
5957 } ;
6058}
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ const window: any = {};
3535import { exampleData } from '../example-data' ;
3636fixture `Example page` . page ( FRONTEND_URL ) ;
3737
38+
39+ console . log ( 'aaaa' ) ;
40+ console . dir ( exampleData ) ;
41+
3842async function insertMessageToFirstUser ( t : TestController , messageText : string ) {
3943 // click on the first user
4044 const firstUserDiv = Selector ( '.user-with-last-message' ) . nth ( 0 ) ;
You can’t perform that action at this time.
0 commit comments