Skip to content

fix: set endDate to last time of day in RangeDatePicker #3215

fix: set endDate to last time of day in RangeDatePicker

fix: set endDate to last time of day in RangeDatePicker #3215

Triggered via pull request February 27, 2024 03:59
@YimJiYoungYimJiYoung
synchronize #940
dss-12
Status Failure
Total duration 9m 24s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
chromatic
non-zero exit code
<RangePickerField /> › when size is lg › match snapshot: packages/vibrant-components/src/lib/RangePickerField/RangePickerField.spec.tsx#L19
expect(received).toMatchSnapshot() Snapshot name: `<RangePickerField /> when size is lg match snapshot 1` - Snapshot - 0 + Received + 23 @@ -206,10 +206,29 @@ flex-direction: column; box-sizing: border-box; position: relative; } + .emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; + z-index: 1; + } + <div> <div class="emotion-0" data-testid="range-picker-field" > @@ -258,6 +277,10 @@ </button> </div> </div> </div> </div> + <div + class="emotion-10" + id="portal-root" + /> </div> at Object.<anonymous> (src/lib/RangePickerField/RangePickerField.spec.tsx:19:34) at runTestInternal (../../node_modules/@kayahr/jest-electron-runner/src/main/electron/runTest.ts:231:22) at runTest (../../node_modules/@kayahr/jest-electron-runner/src/main/electron/runTest.ts:309:38) at EventEmitter.<anonymous> (../../file:/home/runner/work/opensource/opensource/node_modules/@kayahr/jest-electron-runner/src/main/electron/browser_window_injected_code.ts:33:28)
<RangePickerField /> › when size is md › match snapshot: packages/vibrant-components/src/lib/RangePickerField/RangePickerField.spec.tsx#L29
expect(received).toMatchSnapshot() Snapshot name: `<RangePickerField /> when size is md match snapshot 1` - Snapshot - 0 + Received + 23 @@ -206,10 +206,29 @@ flex-direction: column; box-sizing: border-box; position: relative; } + .emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; + z-index: 1; + } + <div> <div class="emotion-0" data-testid="range-picker-field" > @@ -258,6 +277,10 @@ </button> </div> </div> </div> </div> + <div + class="emotion-10" + id="portal-root" + /> </div> at Object.<anonymous> (src/lib/RangePickerField/RangePickerField.spec.tsx:29:34) at runTestInternal (../../node_modules/@kayahr/jest-electron-runner/src/main/electron/runTest.ts:231:22) at runTest (../../node_modules/@kayahr/jest-electron-runner/src/main/electron/runTest.ts:309:38) at EventEmitter.<anonymous> (../../file:/home/runner/work/opensource/opensource/node_modules/@kayahr/jest-electron-runner/src/main/electron/browser_window_injected_code.ts:33:28)
<RangePickerField /> › when size is sm › match snapshot: packages/vibrant-components/src/lib/RangePickerField/RangePickerField.spec.tsx#L39
expect(received).toMatchSnapshot() Snapshot name: `<RangePickerField /> when size is sm match snapshot 1` - Snapshot - 0 + Received + 23 @@ -206,10 +206,29 @@ flex-direction: column; box-sizing: border-box; position: relative; } + .emotion-10 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-content: stretch; + -ms-flex-line-pack: stretch; + align-content: stretch; + -webkit-flex-shrink: 1; + -ms-flex-negative: 1; + flex-shrink: 1; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-sizing: border-box; + position: relative; + z-index: 1; + } + <div> <div class="emotion-0" data-testid="range-picker-field" > @@ -258,6 +277,10 @@ </button> </div> </div> </div> </div> + <div + class="emotion-10" + id="portal-root" + /> </div> at Object.<anonymous> (src/lib/RangePickerField/RangePickerField.spec.tsx:39:34) at runTestInternal (../../node_modules/@kayahr/jest-electron-runner/src/main/electron/runTest.ts:231:22) at runTest (../../node_modules/@kayahr/jest-electron-runner/src/main/electron/runTest.ts:309:38) at EventEmitter.<anonymous> (../../file:/home/runner/work/opensource/opensource/node_modules/@kayahr/jest-electron-runner/src/main/electron/browser_window_injected_code.ts:33:28)
<RangePickerField /> › when the date selection button is clicked › a dialog should appear to allow date selection.: packages/vibrant-components/src/lib/RangePickerField/RangePickerField.spec.tsx#L52
expect(received).toBeTruthy() Received: null Ignored nodes: comments, script, style <html> <head> <meta charset="UTF-8" /> <title> jest-electron-runner </title> <meta content="default-src * data: blob: 'unsafe-inline' 'unsafe-hashes' 'unsafe-eval'" http-equiv="Content-Security-Policy" /> </head> <body style="padding-right: 0px; overflow: hidden; touch-action: none;" > <div> <div class="emotion-4r89vy" data-testid="range-picker-field" > <div class="emotion-12j5knc" data-testid="date-input" > <div class="emotion-13nusle" > <button class="emotion-1s12dz" data-testid="pressable" style="opacity: 1; transition-property: opacity; transition-duration: 200ms; transition-timing-function: cubic-bezier(0.5, 1, 0.89, 1);" type="button" > <span class="emotion-4vs5xu" data-testid="body" > label </span> </button> <div class="emotion-1cl6763" > <button aria-label="날짜 선택" class="emotion-1pe464e" type="button" > <svg class="emotion-1pi75iv" data-testid="calendar-thin" viewBox="0 0 24 24" > <path class="emotion-17f4zqp" d="M17.25 13.5h-3.5c-.15 0-.25.1-.25.25v3.5c0 .15.1.25.25.25h3.5c.15 0 .25-.1.25-.25v-3.5c0-.15-.1-.25-.25-.25Z" /> <path class="emotion-17f4zqp" d="M21.75 4h-4.6V2.25C17.1 2.1 17 2 16.9 2h-1.25c-.15 0-.25.1-.25.25V4H8.6V2.25c0-.15-.1-.25-.2-.25H7.15c-.15 0-.25.1-.25.25V4H2.25C2.1 4 2 4.1 2 4.25v17.5c0 .15.1.25.25.25h19.5c.15 0 .25-.1.25-.25V4.25c0-.15-.1-.25-.25-.25Zm-1.5 16.25H3.75V5.75h3.1V7.5c0 .15.1.25.25.25h1.25c.15 0 .25-.1.25-.25V5.75h6.75V7.5c0 .15.1.25.25.25h1.25c.15 0 .25-.1.25-.25V5.75h3.1v14.5h.05Z" /> </svg> </button> </div> </div> </div> </div> <div class="emotion-tbttou" id="portal-root" > <div class="emotion-xngzzn" style="position: fixed;" > <div class="emotion-1u653xq" tabindex="0" /> <div class="emotion-1t98sn1" > <div class="emotion-185iqea" > <div class="emotion-1wo3fp4" data-testid="calendar" > <div class="emotion-10c2f7i" > <div class="emotion-2zkpe4" > <button class="emotion-1hvtp3b" data-testid="pressable" style="opacity: 1; transition-property: opacity; transition-duration: 200ms; transition-timing-function: cubic-bezier(0.5, 1, 0.89, 1);" type="button" > <svg class="emotion-pnb539" data-testid="chevronleft-regular" viewBox="0 0 24 24" > <path class="emotion-17f4zqp" d="M15.1 2.55 16.5 4c.1.1.1.25 0 .35L8.85 12l7.65 7.65c.1.1.1.25 0 .35l-1.4 1.4c-.1.1-.25.1-.35 0L5.5 12.15c-.1-.1-.1-.25 0-.35l9.25-9.25c.1-.05.25-.05.35 0Z" /> </svg> </button> <span class="emotion-147sg2d" /> <div
ci
The process '/usr/bin/xvfb-run' failed with exit code 1
chromatic
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci
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/
ci
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/
ci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v3, GabrielBB/xvfb-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, GabrielBB/xvfb-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ci
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/