Summary
All DatePicker Cypress tests are currently skipped via describe.skip in packages/main/cypress/specs/DatePicker.cy.tsx due to a recurring CI failure that is not reproducible locally.
Error
TypeError at LocaleData._getDeep (LocaleData.js:141)
at LocaleData._get (LocaleData.js:95)
at LocaleData.getFirstDayOfWeek (LocaleData.js:1299)
at DayPicker._getFirstDayOfWeek (DayPicker.ts:704)
at DayPicker._buildWeeks (DayPicker.ts:90)
at DayPicker.onBeforeRendering (DayPicker.ts:77)
at DayPicker._render (UI5Element.ts:638)
at renderImmediately (Render.ts:24)
at DayPicker.connectedCallback (UI5Element.ts:198)
Root Cause Hypothesis
CLDR locale data may not be fully loaded/resolved when DayPicker.onBeforeRendering runs during Cypress test setup, causing _getDeep to walk into an undefined path.
Steps to Fix
- Investigate locale data initialization timing in the Cypress test environment
- Ensure CLDR data for the active locale is available before the first render of
DayPicker
- Remove
describe.skip in packages/main/cypress/specs/DatePicker.cy.tsx once fixed and verify all tests pass in CI
Related
Skipped in: packages/main/cypress/specs/DatePicker.cy.tsx (branch skip-flaky-tests)
Summary
All DatePicker Cypress tests are currently skipped via
describe.skipinpackages/main/cypress/specs/DatePicker.cy.tsxdue to a recurring CI failure that is not reproducible locally.Error
Root Cause Hypothesis
CLDR locale data may not be fully loaded/resolved when
DayPicker.onBeforeRenderingruns during Cypress test setup, causing_getDeepto walk into an undefined path.Steps to Fix
DayPickerdescribe.skipinpackages/main/cypress/specs/DatePicker.cy.tsxonce fixed and verify all tests pass in CIRelated
Skipped in:
packages/main/cypress/specs/DatePicker.cy.tsx(branchskip-flaky-tests)