Skip to content

fix: 490 curriculum styles #591

fix: 490 curriculum styles

fix: 490 curriculum styles #591

Triggered via pull request December 19, 2024 10:38
Status Failure
Total duration 1m 17s
Artifacts

pr-frontend-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 3 warnings
app/modules/Dashboard/Dashboard.page.test.tsx > Dashboard page > enrolled courses > renders student courses correctly: apps/web/app/modules/Dashboard/Dashboard.page.test.tsx#L39
TestingLibraryElementError: Unable to find an element by: [data-testid="enrolled-courses"] Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <body> <div /> </body> ❯ waitForWrapper ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ app/modules/Dashboard/Dashboard.page.test.tsx:39:51
app/modules/Dashboard/Dashboard.page.test.tsx > Dashboard page > unenrolled courses > renders student courses correctly: apps/web/app/modules/Dashboard/Dashboard.page.test.tsx#L61
TestingLibraryElementError: Unable to find an element by: [data-testid="unenrolled-courses"] Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <body> <div /> </body> ❯ waitForWrapper ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ app/modules/Dashboard/Dashboard.page.test.tsx:61:53
app/modules/Dashboard/Dashboard.page.test.tsx > Dashboard page > unenrolled courses > displays matching courses when searching by name: apps/web/app/modules/Dashboard/Dashboard.page.test.tsx#L82
TestingLibraryElementError: Unable to find an element by: [data-testid="unenrolled-courses"] Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <body> <div /> </body> ❯ waitForWrapper ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ app/modules/Dashboard/Dashboard.page.test.tsx:82:53
app/modules/Dashboard/Dashboard.page.test.tsx > Dashboard page > unenrolled courses > displays matching courses when filtering by category: apps/web/app/modules/Dashboard/Dashboard.page.test.tsx#L102
TestingLibraryElementError: Unable to find role="combobox" Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <body> <div /> </body> ❯ waitForWrapper ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ app/modules/Dashboard/Dashboard.page.test.tsx:102:47
app/modules/Dashboard/Dashboard.page.test.tsx > Dashboard page > unenrolled courses > display empty courses message when no courses match the search: apps/web/app/modules/Dashboard/Dashboard.page.test.tsx#L126
TestingLibraryElementError: Unable to find role="textbox" Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <body> <div /> </body> ❯ waitForWrapper ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ app/modules/Dashboard/Dashboard.page.test.tsx:126:40
app/modules/Dashboard/Dashboard.page.test.tsx > Dashboard page > unenrolled courses > display sorted courses when sort value is changed: apps/web/app/modules/Dashboard/Dashboard.page.test.tsx#L144
TestingLibraryElementError: Unable to find role="combobox" Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <body> <div /> </body> ❯ waitForWrapper ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/query-helpers.js:86:33 ❯ app/modules/Dashboard/Dashboard.page.test.tsx:144:43
app/modules/Dashboard/Dashboard.page.test.tsx > Dashboard page > unenrolled courses > clears search and filters when "Clear All" is clicked: apps/web/app/modules/Dashboard/Dashboard.page.test.tsx#L174
TestingLibraryElementError: Unable to find role="textbox" Ignored nodes: comments, script, style <body> <div /> </body> Ignored nodes: comments, script, style <html> <head /> <body> <div /> </body> </html> ❯ Proxy.waitForWrapper ../../node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/wait-for.js:163:27 ❯ app/modules/Dashboard/Dashboard.page.test.tsx:174:13
Vitest tests
Process completed with exit code 1.
Lint
Module '"~/api/generated-api"' has no exported member 'CreateBetaTextBlockBody'.
Lint
Property 'lessonsControllerCreateBetaTextBlock' does not exist on type '{ authControllerRegister: (data: RegisterBody, params?: RequestParams) => Promise<AxiosResponse<RegisterResponse, any>>; ... 54 more ...; scormControllerGetScormMetadata: (courseId: string, params?: RequestParams) => Promise<...>; }'.
Lint
Module '"../../generated-api"' has no exported member 'CreateQuestionBody'.
Lint
Property 'lessonsControllerCreateQuestion' does not exist on type '{ authControllerRegister: (data: RegisterBody, params?: RequestParams) => Promise<AxiosResponse<RegisterResponse, any>>; ... 54 more ...; scormControllerGetScormMetadata: (courseId: string, params?: RequestParams) => Promise<...>; }'. Did you mean 'lessonControllerBetaCreateLesson'?
Lint
Property 'lessonsControllerUpdateLessonPremiumStatus' does not exist on type '{ authControllerRegister: (data: RegisterBody, params?: RequestParams) => Promise<AxiosResponse<RegisterResponse, any>>; ... 54 more ...; scormControllerGetScormMetadata: (courseId: string, params?: RequestParams) => Promise<...>; }'.
Lint
Module '"../../generated-api"' has no exported member 'UpdateQuestionItemBody'.
Lint
Property 'lessonsControllerUpdateQuestionItem' does not exist on type '{ authControllerRegister: (data: RegisterBody, params?: RequestParams) => Promise<AxiosResponse<RegisterResponse, any>>; ... 54 more ...; scormControllerGetScormMetadata: (courseId: string, params?: RequestParams) => Promise<...>; }'.
Lint
Module '"../../generated-api"' has no exported member 'UpsertQuestionOptionsBody'.
Lint
Property 'lessonsControllerUpsertQuestionOptions' does not exist on type '{ authControllerRegister: (data: RegisterBody, params?: RequestParams) => Promise<AxiosResponse<RegisterResponse, any>>; ... 54 more ...; scormControllerGetScormMetadata: (courseId: string, params?: RequestParams) => Promise<...>; }'.
Lint
Property 'lessonsControllerClearQuizProgress' does not exist on type '{ authControllerRegister: (data: RegisterBody, params?: RequestParams) => Promise<AxiosResponse<RegisterResponse, any>>; ... 54 more ...; scormControllerGetScormMetadata: (courseId: string, params?: RequestParams) => Promise<...>; }'.
Vitest tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build app
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636