Skip to content

add login forms

add login forms #69

Triggered via push June 13, 2024 14:57
Status Failure
Total duration 1m 6s
Artifacts

main.yml

on: push
main  /  ...  /  validate-pr-refs
0s
main / validate-pr-refs / validate-pr-refs
main  /  ...  /  test-js-code
55s
main / test / test-js-code
Fit to window
Zoom out
Zoom in

Annotations

10 errors
main / test / test-js-code: src/pages/login/IndyForm.tsx#L31
Type '{ required: true; helperText: string; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "name" | "type" | "schema"> & Partial<Pick<TextFieldProps, "name">>'.
main / test / test-js-code: src/pages/login/IndyForm.tsx#L32
Type '{ required: true; helperText: string; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "name" | "type" | "schema"> & Partial<Pick<TextFieldProps, "name" | "schema">>'.
main / test / test-js-code: src/pages/login/studentForms/Class.tsx#L31
Type '{ name: string; placeholder: string; helperText: string; schema: StringSchema<string | undefined, AnyObject, undefined, "">; required: true; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "defaultValue" | "id" | "onBlur" | "onChange" | "value" | "name" | "error" | "helperText"> & { ...; }'.
main / test / test-js-code: src/pages/login/studentForms/FirstName.tsx#L63
Property 'FirstNameField' does not exist on type 'typeof import("/home/runner/work/codeforlife-portal-frontend/codeforlife-portal-frontend/node_modules/codeforlife/src/components/form/index")'.
main / test / test-js-code: src/pages/login/studentForms/FirstName.tsx#L68
Type '{ helperText: string; required: true; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "name" | "type" | "schema"> & Partial<Pick<TextFieldProps, "name" | "schema">>'.
main / test / test-js-code: src/pages/login/teacherForms/Email.tsx#L35
Type '{ helperText: string; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "name" | "type" | "schema"> & Partial<Pick<TextFieldProps, "name">>'.
main / test / test-js-code: src/pages/login/teacherForms/Email.tsx#L36
Type '{ helperText: string; }' is not assignable to type 'IntrinsicAttributes & Omit<TextFieldProps, "name" | "type" | "schema"> & Partial<Pick<TextFieldProps, "name" | "schema">>'.
main / test / test-js-code: src/pages/login/teacherForms/Otp.tsx#L6
Module '"codeforlife/hooks"' has no exported member 'useSessionRequired'.
main / test / test-js-code: src/pages/login/teacherForms/Otp.tsx#L21
Binding element 'otp_bypass_token_exists' implicitly has an 'any' type.
main / test / test-js-code: src/pages/login/teacherForms/Otp.tsx#L33
Property 'OtpField' does not exist on type 'typeof import("/home/runner/work/codeforlife-portal-frontend/codeforlife-portal-frontend/node_modules/codeforlife/src/components/form/index")'.