Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365845

Summary: [Unit Test Failure][0.2/4.2][0.1.2/3.7] org.eclipse.emf.facet.widgets.nattable.tests.swtbot.TableEditabilityTest.testNonEditabilityOfNACells
Product: z_Archived Reporter: Gregoire Dupe <gdupe>
Component: EMF-FacetAssignee: Gregoire Dupe <gdupe>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: emft.facet-inbox
Version: unspecifiedFlags: gdupe: juno+
gdupe: kepler+
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Gregoire Dupe CLA 2011-12-07 04:27:55 EST
Stacktrace

org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: Could not find widget.
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntilWidgetAppears(SWTBotFactory.java:348)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.widget(SWTBotFactory.java:308)
	at org.eclipse.swtbot.swt.finder.SWTBot.text(SWTBot.java:1474)
	at org.eclipse.swtbot.swt.finder.SWTBot.text(SWTBot.java:1463)
	at org.eclipse.emf.facet.widgets.nattable.tests.swtbot.TableEditabilityTest.testNonEditabilityOfNACells(TableEditabilityTest.java:700)
Caused by: org.eclipse.swtbot.swt.finder.widgets.TimeoutException: Timeout after: 5000 ms.: Could not find widget matching: (of type 'Text')
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntil(SWTBotFactory.java:398)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntil(SWTBotFactory.java:372)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntil(SWTBotFactory.java:360)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntilWidgetAppears(SWTBotFactory.java:346)
Comment 1 Gregoire Dupe CLA 2011-12-09 11:48:28 EST
I can reproduce this problem in my development environment.
Comment 2 Gregoire Dupe CLA 2011-12-09 13:34:05 EST
In the revision 1144 (Bug 364693) the editor maximizations have been disabled because they are not supported by E4. This disabling cause the failure of TableEditabilityTest.testNonEditabilityOfNACells().

I’ve re-enable the missing maximization. It should work in build based on 3.8 and we will see if it breaks the build based on 4.2.

Committed revision 1260.
Comment 3 Gregoire Dupe CLA 2011-12-09 14:51:31 EST
The revision 1260 didn't solved the problem for the build against 4.2 but it does not break the build.

cf. https://hudson.eclipse.org/hudson/job/emffacet-nightly/652/
Comment 4 Gregoire Dupe CLA 2011-12-09 15:03:49 EST
I missed the commit of the maximization line :-(

Next try:  Committed revision 1262.
Comment 5 Gregoire Dupe CLA 2011-12-13 06:12:00 EST
Back to normal in: https://hudson.eclipse.org/hudson/job/emffacet-nightly-3.8/25/

Not fixed in: https://hudson.eclipse.org/hudson/job/emffacet-nightly/654/ but didn't break the build.
Comment 6 Gregoire Dupe CLA 2012-01-11 08:08:20 EST
Also failing in : https://hudson.eclipse.org/hudson/job/emffacet-nightly-maintenance/27/

Timeout after: 5000 ms.: Cell editor was not activated

Stacktrace

org.eclipse.swtbot.swt.finder.widgets.TimeoutException: Timeout after: 5000 ms.: Cell editor was not activated
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntil(SWTBotFactory.java:398)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.waitUntil(SWTBotFactory.java:372)
	at org.eclipse.emf.facet.widgets.nattable.tests.swtbot.Bug351931Test.testBug352822(Bug351931Test.java:122)
	at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner.run(EclipseTestRunner.java:350)
	at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner.run(EclipseTestRunner.java:208)
	at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication.runTests(UITestApplication.java:116)
	at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:71)
	at java.lang.Thread.run(Thread.java:595)