Skip to content

fix(DatePicker): Fix compatibility with strict mode #3128

fix(DatePicker): Fix compatibility with strict mode

fix(DatePicker): Fix compatibility with strict mode #3128

Triggered via pull request November 22, 2024 10:09
Status Success
Total duration 6m 54s
Artifacts 6

build_and_test.yml

on: pull_request
Build_icon_library
2m 7s
Build_icon_library
Lint_react-component-library
1m 46s
Lint_react-component-library
Build_storybook_e2e
1m 18s
Build_storybook_e2e
Build_storybook
1m 49s
Build_storybook
Build_react-component-library
1m 33s
Build_react-component-library
Test_react-component-library
3m 25s
Test_react-component-library
Matrix: Test-e2e_react-component-library
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 notices
[chromium] › forms/empty.spec.ts:112:15 › Form examples: packages/react-component-library/e2e/forms/empty.spec.ts#L119
1) [chromium] › forms/empty.spec.ts:112:15 › Form examples, empty › Formik › when the form is filled in correctly › and the form is submitted › submits the form values Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Object { "description": "Hello, World!", "email": "[email protected]", - "exampleAutocomplete": "four", + "exampleAutocomplete": null, "exampleCheckbox": Array [ "Option 2", ], "exampleDatePicker": "2022-01-31T12:00:00.000Z", "exampleNumberInput": 1, "exampleRadio": "Option 1", "exampleRangeSlider": Array [ - 28, + 20, ], "exampleSelect": "three", "exampleSwitch": "1", "password": "password", } 117 | .textContent() 118 | > 119 | await expect(JSON.parse(submittedValues as string)).toEqual( | ^ 120 | expectedResult 121 | ) 122 | }) at /home/runner/work/design-system/design-system/packages/react-component-library/e2e/forms/empty.spec.ts:119:65
[chromium] › forms/empty.spec.ts:112:15 › Form examples: packages/react-component-library/e2e/forms/empty.spec.ts#L119
2) [chromium] › forms/empty.spec.ts:112:15 › Form examples, empty › Native › when the form is filled in correctly › and the form is submitted › submits the form values Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Object { "description": "Hello, World!", "email": "[email protected]", - "exampleAutocomplete": "four", + "exampleAutocomplete": null, "exampleCheckbox": Array [ "Option 2", ], "exampleDatePicker": "2022-01-31T12:00:00.000Z", "exampleNumberInput": 1, "exampleRadio": "Option 1", "exampleRangeSlider": Array [ - 28, + 20, ], "exampleSelect": "three", "exampleSwitch": "1", "password": "password", } 117 | .textContent() 118 | > 119 | await expect(JSON.parse(submittedValues as string)).toEqual( | ^ 120 | expectedResult 121 | ) 122 | }) at /home/runner/work/design-system/design-system/packages/react-component-library/e2e/forms/empty.spec.ts:119:65
🎭 Playwright Run Summary
2 flaky [chromium] › forms/empty.spec.ts:112:15 › Form examples, empty › Formik › when the form is filled in correctly › and the form is submitted › submits the form values [chromium] › forms/empty.spec.ts:112:15 › Form examples, empty › Native › when the form is filled in correctly › and the form is submitted › submits the form values 112 passed (49.4s)
🎭 Playwright Run Summary
2 skipped 112 passed (54.2s)
🎭 Playwright Run Summary
2 skipped 112 passed (1.0m)

Artifacts

Produced during runtime
Name Size
dist
1.08 MB
playwright-test-results-1
6.99 MB
playwright-test-results-2
220 KB
playwright-test-results-3
218 KB
storybook-static
36 MB
storybook-static-e2e Expired
32.1 MB