Skip to content

Implemented adding products on the fly #633

Implemented adding products on the fly

Implemented adding products on the fly #633

Triggered via push October 27, 2024 09:37
Status Failure
Total duration 4m 5s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
src/features/products/routes/Products.test.tsx > products can be filtered by category: src/frontend/src/features/products/routes/Products.test.tsx#L56
TestingLibraryElementError: Unable to find an accessible element with the role "option" and name `/cereals/i` Here are the accessible roles: option: Name "Any": <li aria-selected="true" class="MuiButtonBase-root MuiMenuItem-root MuiMenuItem-gutters Mui-selected MuiMenuItem-root MuiMenuItem-gutters Mui-selected css-1t9hqsi-MuiButtonBase-root-MuiMenuItem-root" data-value=" " role="option" tabindex="0" /> -------------------------------------------------- Ignored nodes: comments, script, style <ul aria-labelledby=":r3r:-label" class="MuiList-root MuiList-padding MuiMenu-list css-99wn1p-MuiList-root-MuiMenu-list" id=":r3s:" role="listbox" tabindex="-1" > <li aria-selected="true" class="MuiButtonBase-root MuiMenuItem-root MuiMenuItem-gutters Mui-selected MuiMenuItem-root MuiMenuItem-gutters Mui-selected css-1t9hqsi-MuiButtonBase-root-MuiMenuItem-root" data-value=" " role="option" tabindex="0" > Any </li> </ul> ❯ Object.getElementError .yarn/cache/@testing-library-dom-npm-10.3.1-f78cffd541-a78646e775.zip/node_modules/@testing-library/dom/dist/config.js:37:19 ❯ .yarn/cache/@testing-library-dom-npm-10.3.1-f78cffd541-a78646e775.zip/node_modules/@testing-library/dom/dist/query-helpers.js:76:38 ❯ .yarn/cache/@testing-library-dom-npm-10.3.1-f78cffd541-a78646e775.zip/node_modules/@testing-library/dom/dist/query-helpers.js:52:17 ❯ .yarn/cache/@testing-library-dom-npm-10.3.1-f78cffd541-a78646e775.zip/node_modules/@testing-library/dom/dist/query-helpers.js:95:19 ❯ src/features/products/routes/Products.test.tsx:56:42
frontend
Process completed with exit code 1.
backend: src/backend/src/FoodDiary.Configuration/GoogleOptions.cs#L5
Non-nullable property 'BaseUrl' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Configuration/GoogleOptions.cs#L7
Non-nullable property 'ApplicationName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Configuration/GoogleOptions.cs#L9
Non-nullable property 'ExportFolderId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Configuration/AuthOptions.cs#L5
Non-nullable property 'AllowedEmails' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Contracts/Categories/CategoryAutocompleteItemDto.cs#L7
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Contracts/Products/ProductAutocompleteItemDto.cs#L10
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Application/Categories/Requests/GetCategoriesRequest.cs#L13
Non-nullable property 'CategoryNameFilter' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Application/Categories/Requests/GetCategoriesRequest.cs#L22
Non-nullable property 'CategoryNameFilter' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Application/Models/ProductsSearchResult.cs#L8
Non-nullable property 'FoundProducts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
backend: src/backend/src/FoodDiary.Application/Products/Requests/GetProductsRequest.cs#L20
Non-nullable property 'ProductName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.