Skip to content

Playwright tests

Playwright tests #6759

Triggered via pull request February 18, 2025 11:26
Status Failure
Total duration 1m 56s
Artifacts

dev-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
dev-check: src/test/playwright/lib/login.ts#L1
There should be at least one empty line between import groups
dev-check: src/test/playwright/lib/login.ts#L2
`path` import should occur before import of `@playwright/test`
dev-check: src/test/playwright/lib/login.ts#L2
'path' is defined but never used
dev-check: src/test/playwright/lib/login.ts#L13
Replace `·page.getByRole('menuitem',·{·name:·'Log·out'·}).isVisible()` with `⏎····page.getByRole('menuitem',·{·name:·'Log·out'·}).isVisible()⏎··`
dev-check: src/test/playwright/lib/login.ts#L13
Avoid destructuring queries from `render` result, use `screen.getByRole` instead
dev-check: src/test/playwright/lib/login.ts#L15
Avoid destructuring queries from `render` result, use `screen.getByRole` instead
dev-check: src/test/playwright/lib/login.ts#L21
Avoid destructuring queries from `render` result, use `screen.getByText` instead
dev-check
Cache not found for keys: node-cache-Linux-x64-npm-0404f62d3af560a090ef838b41943345214ded357094646009d7b9d9061d0640
dev-check: src/Components/Blueprints/BlueprintsSideBar.tsx#L178
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
dev-check: src/Components/Blueprints/ImportBlueprintModal.tsx#L185
React Hook React.useEffect has missing dependencies: 'dispatch' and 'handleRepositoryImport'. Either include them or remove the dependency array
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L110
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L199
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L208
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L212
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L216
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L220
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L231
Unnecessary optional chain on a non-nullish value
dev-check: src/Components/Blueprints/helpers/onPremToHostedBlueprintMapper.tsx#L242
Unnecessary optional chain on a non-nullish value