Skip to content

Date picker review2 #24089

Date picker review2

Date picker review2 #24089

Triggered via pull request November 5, 2024 21:42
Status Failure
Total duration 18m 57s
Artifacts 1

test.yml

on: pull_request
Matrix: cypress-tests
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 10 warnings
lint/style/useDefaultParameterLast: packages/lab/src/date-adapters/dayjs.ts#L82
This default parameter should follow the last required parameter or should be a required parameter.
lint/style/noUselessElse: packages/lab/src/date-adapters/dayjs.ts#L516
This else clause can be omitted because previous branches break early.
lint
Process completed with exit code 1.
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should return null date and false error for empty input: packages/lab/src/__tests__/calendar/utils.spec.tsx#L6
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:6:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should parse date with space separator: packages/lab/src/__tests__/calendar/utils.spec.tsx#L11
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:11:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should parse date with slash separator: packages/lab/src/__tests__/calendar/utils.spec.tsx#L19
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:19:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should parse date with hyphen separator: packages/lab/src/__tests__/calendar/utils.spec.tsx#L27
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:27:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should parse numeric month with space separator: packages/lab/src/__tests__/calendar/utils.spec.tsx#L35
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:35:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should parse numeric month with slash separator: packages/lab/src/__tests__/calendar/utils.spec.tsx#L43
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:43:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should parse numeric month with hyphen separator: packages/lab/src/__tests__/calendar/utils.spec.tsx#L51
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:51:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should parse numeric date with no 0 prefix: packages/lab/src/__tests__/calendar/utils.spec.tsx#L59
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:59:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should return error for invalid date format: packages/lab/src/__tests__/calendar/utils.spec.tsx#L67
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:67:20
packages/lab/src/__tests__/calendar/utils.spec.tsx > parseCalendarDate > should return error for invalid month name: packages/lab/src/__tests__/calendar/utils.spec.tsx#L72
TypeError: parseCalendarDate is not a function ❯ packages/lab/src/__tests__/calendar/utils.spec.tsx:72:20
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.cy.tsx#L10
Module '"@salt-ds/lab"' has no exported member 'formatDate'.
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.cy.tsx#L349
Type 'CalendarDate' is not assignable to type 'Date | DateTime<boolean> | Moment | Dayjs | undefined'.
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.cy.tsx#L373
Type 'CalendarDate' is not assignable to type 'Date | DateTime<boolean> | Moment | Dayjs | null | undefined'.
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.cy.tsx#L373
Type 'CalendarDate' is not assignable to type 'Date | DateTime<boolean> | Moment | Dayjs | null | undefined'.
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.multiselect.cy.tsx#L7
Module '"@salt-ds/lab"' has no exported member 'formatDate'.
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.offset.cy.tsx#L2
Module '"@salt-ds/lab"' has no exported member 'formatDate'.
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.range.cy.tsx#L8
Module '"@salt-ds/lab"' has no exported member 'formatDate'.
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.single.cy.tsx#L9
Module '"@salt-ds/lab"' has no exported member 'formatDate'.
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.single.cy.tsx#L231
Generic type 'CalendarProps' requires 1 type argument(s).
type-checks: packages/lab/src/__tests__/__e2e__/calendar/Calendar.single.cy.tsx#L231
Parameter 'date' implicitly has an 'any' type.
cypress-tests (17)
The process '/usr/local/bin/yarn' failed with exit code 23
cypress-tests (18)
The process '/usr/local/bin/yarn' failed with exit code 23
cypress-tests (18)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
cypress-tests (16)
The process '/usr/local/bin/yarn' failed with exit code 23
cypress-tests (16)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
lint/complexity/noForEach: cypress/support/AnnouncementListener.tsx#L41
Prefer for...of instead of forEach.
lint/complexity/noForEach: cypress/tests/checkAccessibility.tsx#L9
Prefer for...of instead of forEach.
lint/complexity/noForEach: tooling/css-variable-docgen-plugin/src/index.ts#L203
Prefer for...of instead of forEach.
lint/complexity/noForEach: tooling/css-variable-docgen-plugin/src/index.ts#L322
Prefer for...of instead of forEach.
lint/suspicious/noArrayIndexKey: docs/components/QAContainer.tsx#L47
Avoid using the index of an array as key property in an element.
lint/suspicious/noArrayIndexKey: docs/components/QAContainer.tsx#L113
Avoid using the index of an array as key property in an element.
lint/suspicious/noArrayIndexKey: docs/components/QAContainer.tsx#L118
Avoid using the index of an array as key property in an element.
lint/complexity/noForEach: tooling/css-variable-docgen-components/src/utils.ts#L42
Prefer for...of instead of forEach.
lint/suspicious/noExplicitAny: docs/decorators/withLocalization.tsx#L13
Unexpected any. Specify a different type.
lint/suspicious/noExplicitAny: packages/ag-grid-theme/src/examples/CustomFilter.tsx#L53
Unexpected any. Specify a different type.

Artifacts

Produced during runtime
Name Size
cypress-screenshots
1.25 MB