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

Flaky "today" tests #875

Open
TWiStErRob opened this issue Oct 24, 2024 · 0 comments
Open

Flaky "today" tests #875

TWiStErRob opened this issue Oct 24, 2024 · 0 comments
Labels
in:test in:web In Angular web UI is:bug Something isn't working

Comments

@TWiStErRob
Copy link
Owner

TWiStErRob commented Oct 24, 2024

logs of https://github.com/TWiStErRob/net.twisterrob.cinema/pull/873/checks?check_run_id=31978933500 at d4108e4

Timezone: Europe/London (set by action)
Time: 2024-10-23T23:18:01 GMT
Tried to reproduce locally 22:xx, 23:xx, 00:xx, 01:xx none of them failed. Also tried Budapest Timezone with some.
Test tried locally: Label.should be today's date

should be today's date() (net.twisterrob.cinema.frontend.test.DateUiTest$Label) failed

java.lang.AssertionError: 
Expecting actual:
  2024-10-24 (java.time.LocalDate)
to be today but was not.
	at net.twisterrob.cinema.frontend.test.DateUiTest$Label.should be today's date(DateUiTest.kt:35)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
should preselect today(Browser) (net.twisterrob.cinema.frontend.test.UrlUiTest$Date) failed

java.lang.AssertionError: 
Expecting actual:
  </planner?c=103&d=2024-10-24>
to have parameter:
  <"d">
with value:
  <"2024-10-23">
but had value:
  <"2024-10-24">
	at net.twisterrob.cinema.frontend.test.UrlUiTest$Date.should preselect today(UrlUiTest.kt:32)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
should be today's date() (net.twisterrob.cinema.frontend.test.DateUiTest$Editor) failed

java.lang.AssertionError: 
Expecting actual:
  2024-10-24 (java.time.LocalDate)
to be today but was not.
	at net.twisterrob.cinema.frontend.test.DateUiTest$Editor.should be today's date(DateUiTest.kt:23)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
@TWiStErRob TWiStErRob added is:bug Something isn't working in:web In Angular web UI in:test labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:test in:web In Angular web UI is:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant