Skip to content

Unit Test PR--fix(time-select): [time-select] Fix and optimize issues with invalid … #193

Unit Test PR--fix(time-select): [time-select] Fix and optimize issues with invalid …

Unit Test PR--fix(time-select): [time-select] Fix and optimize issues with invalid … #193

Triggered via pull request January 6, 2025 11:29
Status Failure
Total duration 1m 26s
Artifacts

test-unit-pr.yml

on: pull_request
Parse Affected Components
2s
Parse Affected Components
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
../../packages/vue/src/time-select/__tests__/time-select.test.tsx > PC Mode > picker-options 当前时间日期选择器特有的选项: packages/vue/src/time-select/__tests__/time-select.test.tsx#L109
TypeError: Cannot read properties of undefined (reading 'textContent') ❯ ../../packages/vue/src/time-select/__tests__/time-select.test.tsx:109:35
../../packages/vue/src/time-select/__tests__/time-select.test.tsx > PC Mode > default-value 可选,当选中的日期值为空时,选择器面板打开时默认显示的时间,需设置为可被new Date()解析的值: packages/vue/src/time-select/__tests__/time-select.test.tsx#L124
AssertionError: expected undefined to be '09:00' // Object.is equality - Expected: "09:00" + Received: undefined ❯ ../../packages/vue/src/time-select/__tests__/time-select.test.tsx:124:5
../../packages/vue/src/time-select/__tests__/time-select.test.tsx > PC Mode > focus and blur events: packages/vue/src/time-select/__tests__/time-select.test.tsx#L177
AssertionError: expected "spy" to be called at least once ❯ ../../packages/vue/src/time-select/__tests__/time-select.test.tsx:177:24
../../packages/vue/src/time-select/__tests__/time-select.test.tsx > PC Mode > change 用户确认选定的值时触发: packages/vue/src/time-select/__tests__/time-select.test.tsx#L208
AssertionError: expected "spy" to be called 1 times, but got 0 times ❯ ../../packages/vue/src/time-select/__tests__/time-select.test.tsx:208:21
PR Unit Test
Process completed with exit code 1.
Parse Affected Components
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PR Unit Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636