File tree Expand file tree Collapse file tree
packages/frontend/e2e/helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export async function seedPlaywrightAssignments(
8282
8383 // Fetch user IDs by role
8484 const usersRes = await axios . get < {
85- data : Array < { id : string ; email : string ; role : string } > ;
85+ data : Array < { userId : string ; email : string ; role : string } > ;
8686 } > ( `${ BACKEND_URL } /admin/users` , { headers } ) ;
8787 const users = usersRes . data . data ;
8888
@@ -98,7 +98,7 @@ export async function seedPlaywrightAssignments(
9898 try {
9999 await axios . post (
100100 `${ BACKEND_URL } /admin/assignments/uploaders` ,
101- { uploaderId : uploader . id , validatorId : validator . id } ,
101+ { uploaderId : uploader . userId , validatorId : validator . userId } ,
102102 { headers } ,
103103 ) ;
104104 } catch ( err ) {
@@ -111,7 +111,7 @@ export async function seedPlaywrightAssignments(
111111 try {
112112 await axios . post (
113113 `${ BACKEND_URL } /admin/assignments/validators` ,
114- { validatorId : validator . id , approverId : approver . id } ,
114+ { validatorId : validator . userId , approverId : approver . userId } ,
115115 { headers } ,
116116 ) ;
117117 } catch ( err ) {
You can’t perform that action at this time.
0 commit comments