Skip to content

Fix datepicker tests to not match upcoming month's days#7256

Merged
mrcasals merged 1 commit intodevelopfrom
fix/datepicker-failing-on-date
Feb 1, 2021
Merged

Fix datepicker tests to not match upcoming month's days#7256
mrcasals merged 1 commit intodevelopfrom
fix/datepicker-failing-on-date

Conversation

@mrcasals
Copy link
Copy Markdown
Contributor

@mrcasals mrcasals commented Feb 1, 2021

🎩 What? Why?

February 2021 is special for datepicker tests because there appear 2 "12th" days, so specs start failing because they don't understand what element should be picked:

image

This PR enforces specs to check for the correct element.

📌 Related Issues

None

Testing

Ensure test suite is green.

@mrcasals mrcasals merged commit a93bc3a into develop Feb 1, 2021
@mrcasals mrcasals deleted the fix/datepicker-failing-on-date branch February 1, 2021 09:10
microstudi added a commit to Platoniq/decidim that referenced this pull request Feb 3, 2021
# Conflicts:
#	decidim-elections/spec/system/admin_manages_votings_spec.rb
microstudi pushed a commit to Platoniq/decidim that referenced this pull request Feb 22, 2021
# Conflicts:
#	decidim-elections/spec/system/admin_manages_votings_spec.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant