Skip to content

Dates from Postgres queries now show up as ISO date strings#5

Merged
sharat87 merged 6 commits intoreleasefrom
bug/postgres-date-formats
Jul 6, 2020
Merged

Dates from Postgres queries now show up as ISO date strings#5
sharat87 merged 6 commits intoreleasefrom
bug/postgres-date-formats

Conversation

@sharat87
Copy link
Copy Markdown
Member

@sharat87 sharat87 commented Jul 1, 2020

No description provided.

@sharat87 sharat87 requested a review from trishaanand July 1, 2020 07:37
@mohanarpit mohanarpit added the Backend This marks the issue or pull request to reference server code label Jul 2, 2020
subrata71 added a commit that referenced this pull request Apr 5, 2026
…dropdown synchronization

The test was failing intermittently because the click on .rc-tree-select-selector
after deploy did not always open the dropdown. The root cause is a React hydration
timing gap: the element is visible in the DOM before React attaches its event
handlers, so the click fires but is swallowed silently, leaving the dropdown in its
hidden state (rc-tree-select-dropdown-hidden with display: none).

Prior fixes (409e03d, 2a262ac, d31ea85) all addressed DOM presence but not React
readiness, so the flakiness persisted.

This fix uses a two-phase approach:
- Phase 1: A cy.waitUntil loop that clicks the selector and checks the library's
  own rc-tree-select-open class on the widget root. Only re-clicks when the dropdown
  is actually closed, preventing toggle oscillation.
- Phase 2: Once open, waits for the specific "Green" option to be visible via
  cy.xpath().should("be.visible") before clicking it.

Also closes the dropdown at the end of test #5 to prevent state leakage into test #6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backend This marks the issue or pull request to reference server code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants