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

IPCNotVaadinEventIT::sendEventFromNonVaadinToVaadin is flaky #187

Open
mshabarov opened this issue Apr 1, 2021 · 0 comments
Open

IPCNotVaadinEventIT::sendEventFromNonVaadinToVaadin is flaky #187

mshabarov opened this issue Apr 1, 2021 · 0 comments

Comments

@mshabarov
Copy link
Contributor

Portlet 1.0 IPCNotVaadinEventIT::sendEventFromNonVaadinToVaadin test fails time to time without any reasonable cause within validation with Flow 2.5:

java.lang.RuntimeException: sendEventFromNonVaadinToVaadin[ANY_Chrome_](com.vaadin.flow.portal.events.IPCNotVaadinEventIT): run failed 2 times
	at com.vaadin.testbench.RetryRule$1.evaluate(RetryRule.java:69)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:393)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate element with text: IT-1917931210
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'ip-172-16-1-59.eu-west-1.compute.internal', ip: '172.16.1.59', os.name: 'Linux', os.arch: 'amd64', os.version: '4.14.123-111.109.amzn2.x86_64', java.version: '1.8.0_201'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.Select.selectByVisibleText(Select.java:147)
	at com.vaadin.flow.component.html.testbench.SelectElement.selectByText(SelectElement.java:39)
	at com.vaadin.flow.portal.AbstractPlutoPortalTest.addPortlet(AbstractPlutoPortalTest.java:168)
	at com.vaadin.flow.portal.AbstractPlutoPortalTest.addVaadinPortlet(AbstractPlutoPortalTest.java:128)
	at com.vaadin.flow.portal.AbstractPlutoPortalTest.setup(AbstractPlutoPortalTest.java:96)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at com.vaadin.testbench.parallel.ParallelRunner$1.evaluate(ParallelRunner.java:468)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
	at com.vaadin.testbench.RetryRule$1.evaluate(RetryRule.java:59)
	... 11 more
------- Stderr: -------
Mar 31, 2021 9:39:40 AM com.vaadin.testbench.parallel.SauceLabsIntegration setDesiredCapabilities
WARNING: Null or empty sauce.options given. Ignoring.
Mar 31, 2021 9:39:41 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Mar 31, 2021 9:39:44 AM com.vaadin.testbench.parallel.SauceLabsIntegration setDesiredCapabilities
WARNING: Null or empty sauce.options given. Ignoring.
Mar 31, 2021 9:39:46 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

image

https://bender.vaadin.com/viewLog.html?buildId=221802&buildTypeId=Flow_Flow25_AddOns_FlowPortlet10

@mshabarov mshabarov added bug Something isn't working testing labels Apr 1, 2021
@caalador caalador moved this to Failing / Flaky tests in Vaadin Flow bugs & maintenance (Vaadin 10+) Sep 20, 2023
@mshabarov mshabarov added internal improvement and removed bug Something isn't working labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Failing / Flaky tests
Development

No branches or pull requests

1 participant