feat(DatePicker): Enhance with Year Month selection #3106
build_and_test.yml
on: pull_request
Build_icon_library
1m 33s
Lint_react-component-library
1m 12s
Security_audit
42s
Check_commits
36s
Test_design-tokens
50s
Build_react-component-library
1m 24s
Test_react-component-library
3m 6s
Matrix: Test-e2e_react-component-library
Test_a11y
2m 28s
Annotations
10 errors and 3 notices
Check_commits
fixup commits found
|
[chromium] › DatePicker/default.spec.ts:55:7 › DatePicker:
packages/react-component-library/e2e/DatePicker/default.spec.ts#L85
1) [chromium] › DatePicker/default.spec.ts:55:7 › DatePicker, jump to today › jumps to today when button is clicked
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: getByRole('gridcell', { name: /^5$/ })
Expected pattern: /rdp-day_selected/
Received string: "rdp-button_reset rdp-button rdp-day"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for getByRole('gridcell', { name: /^5$/ })
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
83 | })
84 |
> 85 | await expect(todayButton).toHaveClass(/rdp-day_selected/)
| ^
86 | await expect(todayButton).toHaveClass(/rdp-day_today/)
87 | await expect(todayButton).toHaveAttribute('aria-selected', 'true')
88 | })
at /home/runner/work/design-system/design-system/packages/react-component-library/e2e/DatePicker/default.spec.ts:85:31
|
[chromium] › DatePicker/default.spec.ts:55:7 › DatePicker:
packages/react-component-library/e2e/DatePicker/default.spec.ts#L85
1) [chromium] › DatePicker/default.spec.ts:55:7 › DatePicker, jump to today › jumps to today when button is clicked
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: getByRole('gridcell', { name: /^5$/ })
Expected pattern: /rdp-day_selected/
Received string: "rdp-button_reset rdp-button rdp-day"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for getByRole('gridcell', { name: /^5$/ })
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
83 | })
84 |
> 85 | await expect(todayButton).toHaveClass(/rdp-day_selected/)
| ^
86 | await expect(todayButton).toHaveClass(/rdp-day_today/)
87 | await expect(todayButton).toHaveAttribute('aria-selected', 'true')
88 | })
at /home/runner/work/design-system/design-system/packages/react-component-library/e2e/DatePicker/default.spec.ts:85:31
|
Test-e2e_react-component-library (1/3)
Process completed with exit code 1.
|
Test-e2e_react-component-library (2/3)
The job was canceled because "_1_3" failed.
|
[firefox] › DatePicker/default.spec.ts:55:7 › DatePicker:
packages/react-component-library/e2e/DatePicker/default.spec.ts#L85
1) [firefox] › DatePicker/default.spec.ts:55:7 › DatePicker, jump to today › jumps to today when button is clicked
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: getByRole('gridcell', { name: /^5$/ })
Expected pattern: /rdp-day_selected/
Received string: "rdp-button_reset rdp-button rdp-day"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for getByRole('gridcell', { name: /^5$/ })
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
83 | })
84 |
> 85 | await expect(todayButton).toHaveClass(/rdp-day_selected/)
| ^
86 | await expect(todayButton).toHaveClass(/rdp-day_today/)
87 | await expect(todayButton).toHaveAttribute('aria-selected', 'true')
88 | })
at /home/runner/work/design-system/design-system/packages/react-component-library/e2e/DatePicker/default.spec.ts:85:31
|
[firefox] › DatePicker/default.spec.ts:55:7 › DatePicker:
packages/react-component-library/e2e/DatePicker/default.spec.ts#L85
1) [firefox] › DatePicker/default.spec.ts:55:7 › DatePicker, jump to today › jumps to today when button is clicked
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: getByRole('gridcell', { name: /^5$/ })
Expected pattern: /rdp-day_selected/
Received string: "rdp-button_reset rdp-button rdp-day"
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for getByRole('gridcell', { name: /^5$/ })
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
- locator resolved to <button name="day" tabindex="-1" type="button" role="gridcell" class="rdp-button_reset rdp-button rdp-day">5</button>
- unexpected value "rdp-button_reset rdp-button rdp-day"
83 | })
84 |
> 85 | await expect(todayButton).toHaveClass(/rdp-day_selected/)
| ^
86 | await expect(todayButton).toHaveClass(/rdp-day_today/)
87 | await expect(todayButton).toHaveAttribute('aria-selected', 'true')
88 | })
at /home/runner/work/design-system/design-system/packages/react-component-library/e2e/DatePicker/default.spec.ts:85:31
|
Test-e2e_react-component-library (2/3)
The operation was canceled.
|
Test-e2e_react-component-library (3/3)
The job was canceled because "_1_3" failed.
|
Test-e2e_react-component-library (3/3)
The operation was canceled.
|
🎭 Playwright Run Summary
1 failed
[chromium] › DatePicker/default.spec.ts:55:7 › DatePicker, jump to today › jumps to today when button is clicked
113 passed (52.4s)
|
🎭 Playwright Run Summary
1 failed
[firefox] › DatePicker/default.spec.ts:55:7 › DatePicker, jump to today › jumps to today when button is clicked
2 skipped
111 passed (1.0m)
|
🎭 Playwright Run Summary
2 skipped
112 passed (58.3s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dist
|
1.08 MB |
|
playwright-test-results-1
|
1.93 MB |
|
playwright-test-results-2
|
1.92 MB |
|
playwright-test-results-3
|
218 KB |
|
storybook-static
|
36.1 MB |
|
storybook-static-e2e
Expired
|
32.1 MB |
|