Skip to content

AAP-37878: move Chatbot test to vitest-browser-react #119

AAP-37878: move Chatbot test to vitest-browser-react

AAP-37878: move Chatbot test to vitest-browser-react #119

Triggered via pull request December 19, 2024 21:20
Status Failure
Total duration 46s
Artifacts

ui_compile_chatbot.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L23
`screen` is not a recommended name for `render` returned value. Instead, you should destructure it, or name it using one of: `view`, or `utils`
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L24
'React' must be in scope when using JSX
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L25
'React' must be in scope when using JSX
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L26
'React' must be in scope when using JSX
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L28
'React' must be in scope when using JSX
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L39
Avoid destructuring queries from `render` result, use `screen.getByLabelText` instead
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L39
`getByLabelText` query is sync so it does not need to be awaited
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L111
Expected space or tab after '//' in comment
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L127
`screen` is not a recommended name for `render` returned value. Instead, you should destructure it, or name it using one of: `view`, or `utils`
lint: ansible_ai_connect_chatbot/src/App.test.tsx#L128
Avoid destructuring queries from `render` result, use `screen.getByLabelText` instead
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636