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

2.5: DialogShortcutIT is flaky #10590

Closed
denis-anisimov opened this issue Apr 8, 2021 · 1 comment
Closed

2.5: DialogShortcutIT is flaky #10590

denis-anisimov opened this issue Apr 8, 2021 · 1 comment

Comments

@denis-anisimov
Copy link
Contributor

SNAPSHOT sometimes fails with :

twoDialogsOpenedWithSameShortcutKeyOnListenOn_dialogWithFocusExecuted[ANY_Chrome_](com.vaadin.flow.uitest.ui.DialogShortcutIT)  Time elapsed: 17.919 s  <<< ERROR!
[08:23:14] :	 [Step 4/6] java.lang.RuntimeException: twoDialogsOpenedWithSameShortcutKeyOnListenOn_dialogWithFocusExecuted[ANY_Chrome_](com.vaadin.flow.uitest.ui.DialogShortcutIT): run failed 2 times
[08:23:14]W:		 [com.vaadin:flow-test-root-context-npm] Apr 08, 2021 5:23:11 AM org.openqa.selenium.remote.ProtocolHandshake createSession
[08:23:14]W:		 [com.vaadin:flow-test-root-context-npm] INFO: Detected dialect: W3C
[08:23:14] :	 [Step 4/6] 	at com.vaadin.testbench.RetryRule$1.evaluate(RetryRule.java:69)
[08:23:14] :	 [Step 4/6] 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
[08:23:14] :	 [Step 4/6] 	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
[08:23:14] :	 [Step 4/6] 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
[08:23:14] :	 [Step 4/6] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
[08:23:14] :	 [Step 4/6] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
[08:23:14] :	 [Step 4/6] 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
[08:23:14] :	 [Step 4/6] 	at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
[08:23:14] :	 [Step 4/6] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[08:23:14] :	 [Step 4/6] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[08:23:14] :	 [Step 4/6] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[08:23:14] :	 [Step 4/6] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[08:23:14] :	 [Step 4/6] 	at java.lang.Thread.run(Thread.java:748)
[08:23:14] :	 [Step 4/6] Caused by: org.junit.ComparisonFailure: Invalid latest event with 0::DIALOG1 expected:<[1-DIALOG1]> but was:<[0-DIALOG0]>
[08:23:14] :	 [Step 4/6] 	at org.junit.Assert.assertEquals(Assert.java:117)
[08:23:14] :	 [Step 4/6] 	at com.vaadin.flow.uitest.ui.DialogShortcutIT.validateShortcutEvent(DialogShortcutIT.java:205)
[08:23:14] :	 [Step 4/6] 	at com.vaadin.flow.uitest.ui.DialogShortcutIT.validateLatestDialogShortcut(DialogShortcutIT.java:192)
[08:23:14] :	 [Step 4/6] 	at com.vaadin.flow.uitest.ui.DialogShortcutIT.twoDialogsOpenedWithSameShortcutKeyOnListenOn_dialogWithFocusExecuted(DialogShortcutIT.java:119)

twoDialogsOpenedWithSameShortcutKeyOnListenOn_dialogWithFocusExecuted ANY_Chrome_ (com vaadin flow uitest ui DialogShortcutIT)

https://bender.vaadin.com/viewLog.html?buildId=222958&buildTypeId=Flow_Flow25_Flow25Snapshot&tab=buildResultsDiv

@MarcinVaadin
Copy link
Member

MarcinVaadin commented Aug 8, 2022

Cherry picked on Flow 2.7 (#12830)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants