Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround fixes for datepicker display bug in Cypress tests #3967

Merged
merged 1 commit into from
Jul 10, 2019
Merged

Conversation

ranbena
Copy link
Contributor

@ranbena ranbena commented Jul 10, 2019

  • Bug Fix

Description

Date input tests open the picker on click but it doesn't hide on confirm/select.
The tests manage to deal with it, but the picker obscures underlying content making it unreachable which causes us to sample the wrong content in tests and it also complicates things for #3907.

I managed to find a workaround - another click on the picker closes it. Now it behaves correctly and the right content can be asserted.

@ranbena ranbena self-assigned this Jul 10, 2019
Copy link
Member

@gabrieldutra gabrieldutra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Let's see how hard will it be to handle Date Ranges on #3904 😁

@ranbena ranbena merged commit 7bf84e8 into master Jul 10, 2019
@ranbena ranbena deleted the ant-cy branch July 10, 2019 14:47
The-Alchemist pushed a commit to The-Alchemist/redash that referenced this pull request Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants