Fix/web/responsive design #25
lint-test-build-web.yml
on: pull_request
Annotations
10 errors
error: expect(received).toEqual(expected):
frontend/occupi-web/src/components/OtpComponent/OtpComponent.test.tsx#L19
Expected: ""
Received: "a"
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/OtpComponent/OtpComponent.test.tsx:19:47
at forEach (:1:11)
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/OtpComponent/OtpComponent.test.tsx:18:10
|
TestingLibraryElementError: Unable to find an element with the text: Email. This could be because the text is broken up by multiple elements. In this case:
frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div>
<input
aria-label="Email"
placeholder="Enter your email"
type="email"
/>
</div>
</body>
at getElementError (/home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/InputBox/InputBox.test.tsx:21:26
|
TestingLibraryElementError: Unable to find an element with the text: Invalid Email. This could be because the text is broken up by multiple elements. In this case:
frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div>
<input
aria-label="Email"
placeholder="Enter your email"
type="email"
/>
</div>
</body>
at getElementError (/home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/InputBox/InputBox.test.tsx:40:26
|
TestingLibraryElementError: Unable to find an element with the text: Invalid Password. This could be because the text is broken up by multiple elements. In this case:
frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div>
<input
aria-label="Password"
placeholder="Enter your password"
type="password"
/>
</div>
</body>
at getElementError (/home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/InputBox/InputBox.test.tsx:62:26
|
TestingLibraryElementError: Unable to find an element with the text: Password. This could be because the text is broken up by multiple elements. In this case:
frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div>
<input
aria-label="Password"
placeholder="Enter your password"
type="password"
/>
</div>
</body>
at getElementError (/home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/InputBox/InputBox.test.tsx:84:19
|
error: expect(received).toContain(expected):
frontend/occupi-web/src/components/InputBox/InputBox.test.tsx#L102
Expected to contain: "border-[2px]"
Received: ""
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/InputBox/InputBox.test.tsx:102:29
|
TestingLibraryElementError: Unable to find an element with the text: Invalid Email. This could be because the text is broken up by multiple elements. In this case:
frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div>
<input
aria-label="Email"
placeholder="Enter your email"
type="email"
/>
</div>
</body>
at getElementError (/home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/InputBox/InputBox.test.tsx:124:19
|
TestingLibraryElementError: Unable to find an element by: [data-testid="checkbox-root"]:
frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div>
<input
type="checkbox"
/>
</div>
</body>
at getElementError (/home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/occupi/occupi/frontend/occupi-web/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/ui/checkbox.test.tsx:26:29
|
error: expect(received).toContain(expected):
frontend/occupi-web/src/components/graphContainer/GraphContainer.test.tsx#L45
Expected to contain: "shadow-2xl"
Received: "card border-2 border-tertiary rounded-[20px] bg-secondary"
at /home/runner/work/occupi/occupi/frontend/occupi-web/src/components/graphContainer/GraphContainer.test.tsx:45:37
|
test
Process completed with exit code 1.
|