feat: lesson details and lesson progress #600
Annotations
18 errors and 3 warnings
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>>; ... 55 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>>; ... 55 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>>; ... 55 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>>; ... 55 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>>; ... 55 more ...; scormControllerGetScormMetadata: (courseId: string, params?: RequestParams) => Promise<...>; }'.
|
Lint
Property 'lessonsControllerClearQuizProgress' does not exist on type '{ authControllerRegister: (data: RegisterBody, params?: RequestParams) => Promise<AxiosResponse<RegisterResponse, any>>; ... 55 more ...; scormControllerGetScormMetadata: (courseId: string, params?: RequestParams) => Promise<...>; }'.
|
app/modules/Courses/Courses.page.test.tsx > Courses page > enrolled courses > renders student courses correctly:
apps/web/app/modules/Courses/Courses.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/Courses/Courses.page.test.tsx:39:51
|
app/modules/Courses/Courses.page.test.tsx > Courses page > unenrolled courses > renders student courses correctly:
apps/web/app/modules/Courses/Courses.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/Courses/Courses.page.test.tsx:61:53
|
app/modules/Courses/Courses.page.test.tsx > Courses page > unenrolled courses > displays matching courses when searching by name:
apps/web/app/modules/Courses/Courses.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/Courses/Courses.page.test.tsx:82:53
|
app/modules/Courses/Courses.page.test.tsx > Courses page > unenrolled courses > displays matching courses when filtering by category:
apps/web/app/modules/Courses/Courses.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/Courses/Courses.page.test.tsx:102:47
|
app/modules/Courses/Courses.page.test.tsx > Courses page > unenrolled courses > display empty courses message when no courses match the search:
apps/web/app/modules/Courses/Courses.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/Courses/Courses.page.test.tsx:126:40
|
app/modules/Courses/Courses.page.test.tsx > Courses page > unenrolled courses > display sorted courses when sort value is changed:
apps/web/app/modules/Courses/Courses.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/Courses/Courses.page.test.tsx:144:43
|
app/modules/Courses/Courses.page.test.tsx > Courses page > unenrolled courses > clears search and filters when "Clear All" is clicked:
apps/web/app/modules/Courses/Courses.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/Courses/Courses.page.test.tsx:174:13
|
Vitest tests
Process completed with exit code 1.
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Vitest tests
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
|