Skip to content

fix(app-platform): upgrade platform tools to use vite and react 18 #557

fix(app-platform): upgrade platform tools to use vite and react 18

fix(app-platform): upgrade platform tools to use vite and react 18 #557

Triggered via pull request February 6, 2025 13:34
Status Failure
Total duration 1m 36s
Artifacts 1

verify-pr.yml

on: pull_request
call-workflow-e2e-prod  /  compute-prod-versions
call-workflow-e2e-prod / compute-prod-versions
Matrix: call-workflow-e2e-prod / e2e-prod
Waiting for pending jobs
call-workflow-e2e-prod  /  e2e-tests-success
call-workflow-e2e-prod / e2e-tests-success
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
test
Process completed with exit code 1.
lint: config/testSetup.js#L1
Unable to resolve path to module '@testing-library/dom'
lint: src/components/DashboardsBar/InformationBlock/__tests__/FilterSelector.spec.jsx#L2
screen not found in '@testing-library/react'
lint: src/components/DashboardsBar/NavigationMenu/__tests__/NavigationMenu.spec.jsx#L10
'displayName' is missing in props validation
lint: src/components/DropdownButton/assets/Arrow.jsx#L12
Unknown property 'jsx' found
lint: src/components/DropdownButton/assets/Arrow.jsx#L39
Unknown property 'jsx' found
lint: src/components/Item/VisualizationItem/ItemContextMenu/__tests__/ItemContextMenu.offline.spec.jsx#L1
Unable to resolve path to module '@testing-library/dom'
lint: src/components/Item/VisualizationItem/ItemContextMenu/__tests__/ItemContextMenu.spec.jsx#L1
Unable to resolve path to module '@testing-library/dom'
lint: src/components/Item/VisualizationItem/ItemContextMenu/__tests__/ItemContextMenu.spec.jsx#L2
waitFor not found in '@testing-library/react'
lint: src/components/Item/VisualizationItem/__tests__/Item.spec.jsx#L33
Unknown property 'item' found
setup-matrix
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint: src/components/App.jsx#L44
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
lint: src/components/SystemSettingsProvider.jsx#L39
React Hook useEffect has a missing dependency: 'engine'. Either include it or remove the dependency array
lint: src/pages/edit/EditDashboard.jsx#L56
React Hook useEffect has missing dependencies: 'dataEngine', 'props', and 'width'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
lint: src/pages/edit/LayoutModal.jsx#L33
React Hook useEffect has a missing dependency: 'columns'. Either include it or remove the dependency array. If 'setCols' needs the current value of 'columns', you can also switch to useReducer instead of useState and read 'columns' in the reducer
lint: src/pages/edit/NewDashboard.jsx#L35
React Hook useEffect has missing dependencies: 'dispatch' and 'width'. Either include them or remove the dependency array
lint: src/pages/print/PrintDashboard.jsx#L105
React Hook useEffect has missing dependencies: 'addDashboardItem', 'dataEngine', 'removeDashboardItem', 'setPrintDashboard', and 'updateDashboardItem'. Either include them or remove the dependency array. If 'setPrintDashboard' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: src/pages/print/PrintLayoutDashboard.jsx#L92
React Hook useEffect has missing dependencies: 'customizePrintLayoutDashboard', 'dataEngine', 'id', and 'setPrintDashboard'. Either include them or remove the dependency array. If 'setPrintDashboard' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: src/pages/start/LandingPage.jsx#L9
React Hook useEffect has a missing dependency: 'onMount'. Either include it or remove the dependency array. If 'onMount' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: src/pages/start/StartScreen.jsx#L27
React Hook useEffect has a missing dependency: 'dataEngine'. Either include it or remove the dependency array

Artifacts

Produced during runtime
Name Size
app-build Expired
5.81 MB