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

Solving problems with Flaky test in setDateSession method #183

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

augustocristian
Copy link
Contributor

This PR closes #182
The problem with the date was caused by the Java Date class. The current implementation of this class when you retrieve the Data.MONTH, returns a number between 0 and 11. The current implementation was not valid for this case, this PR contains:

  • An improvement of the setDateSession method, that removes the getAttribute deprecated method, considers the locale (to ease LocalTesting, and checks using the YYYY-MM-DD format that is the one that is stored by default in the DatePicker
  • Some minor changes in variable naming, to follow the Java conventions (Sonar)

@augustocristian augustocristian linked an issue Jan 1, 2025 that may be closed by this pull request
@javiertuya javiertuya merged commit 60f580c into main Jan 11, 2025
2 checks passed
@javiertuya javiertuya deleted the 182-flaky-test-sessiontest-setdatesession-method branch January 11, 2025 06:19
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.

Flaky test into the sessionTest setDateSession() method
2 participants