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

Bug 457804

Summary: Upgrade our tests to a more current version of SWTbot
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Florian Barbin <florian.barbin>
Status: CLOSED FIXED QA Contact: Guillaume Coutable <guillaume.coutable>
Severity: enhancement    
Priority: P3 CC: laurent.redor, miklossy
Version: 2.0.0Keywords: triaged
Target Milestone: 6.0.0   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/112435
https://git.eclipse.org/r/112434
https://git.eclipse.org/r/112436
https://git.eclipse.org/r/112471
https://git.eclipse.org/r/112654
https://git.eclipse.org/r/112825
https://git.eclipse.org/r/113336
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=aa61441096f7b8df0f774d13c9a4f4f3e062a159
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8948130eda717b6959b9a9e3eae27542290b1a16
https://git.eclipse.org/r/118125
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=40862aef8f29b3e45ce3835ab0a5bcafeaed2e4a
https://git.eclipse.org/r/118133
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=78798cff4a6052687fe39ab9db0e3be8f2bba5d4
https://git.eclipse.org/r/123280
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8eba1a5be79a91bbeb440a2c59b0c749b7fc6e3a
Whiteboard: tests infra swtbot

Description Pierre-Charles David CLA 2015-01-19 03:23:55 EST
We're currently using SWTBot 2.1.1 for all our tests but the behavior of the tests is often very unreliable.

The current SWTBot version (as of this writing) is 2.2.1 which seems to have bugfixes which could improve the stability of our tests:

https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&list_id=10893799&product=SWTBot&query_format=advanced&target_milestone=2.1.2&target_milestone=2.2.0&target_milestone=2.2.1&target_milestone=2.2.2

We should try to upgrade to at least the latest release (https://wiki.eclipse.org/SWTBot#Latest_Release) and see if this improve the reliability and/or performance of the tests.
Comment 1 Pierre-Charles David CLA 2015-01-19 04:31:39 EST
See https://git.eclipse.org/r/39831
Comment 2 Pierre-Charles David CLA 2015-06-18 07:10:11 EDT
SWTbot 2.3 will be released as part of Mars, so if/when we make the effort to upgrade, we might as well to it to the most recent version at the time (assuming it is compatible with all the Eclipse versions we support).
Comment 3 Pierre-Charles David CLA 2015-06-23 10:19:30 EDT
Moving to 4.0. No real urgency here.
Comment 4 Pierre-Charles David CLA 2015-12-15 04:11:54 EST
Moving out of the 4.0 scope for now, along with all the other issues which were there "by default". This does not mean some of these will not be re-integrated at some point, but for now these issues are not part of the roadmap for 4.0.

If you feel strongly about this removal from 4.0 and/or are ready to sponsor the corresponding work, feel free to comment.
Comment 5 Pierre-Charles David CLA 2017-06-19 08:38:13 EDT
Note that when doing this, the workaround added on our side in https://git.eclipse.org/r/#/c/98531/ can be removed, and we can use the version of that code coming from SWTbot.
Comment 6 Eclipse Genie CLA 2017-11-28 08:17:40 EST
New Gerrit change created: https://git.eclipse.org/r/112435
Comment 7 Eclipse Genie CLA 2017-11-28 08:17:43 EST
New Gerrit change created: https://git.eclipse.org/r/112434
Comment 8 Eclipse Genie CLA 2017-11-28 08:17:45 EST
New Gerrit change created: https://git.eclipse.org/r/112436
Comment 9 Eclipse Genie CLA 2017-11-28 11:48:20 EST
New Gerrit change created: https://git.eclipse.org/r/112471
Comment 10 Eclipse Genie CLA 2017-11-30 12:06:58 EST
New Gerrit change created: https://git.eclipse.org/r/112654
Comment 11 Eclipse Genie CLA 2017-12-04 11:34:40 EST
New Gerrit change created: https://git.eclipse.org/r/112825
Comment 12 Eclipse Genie CLA 2017-12-13 11:47:12 EST
New Gerrit change created: https://git.eclipse.org/r/113336
Comment 15 Eclipse Genie CLA 2018-02-26 03:42:49 EST
New Gerrit change created: https://git.eclipse.org/r/118125
Comment 17 Eclipse Genie CLA 2018-02-26 04:46:06 EST
New Gerrit change created: https://git.eclipse.org/r/118133
Comment 19 Pierre-Charles David CLA 2018-03-09 05:17:03 EST
The upgrade itself is done. There are still some test reliability issues, some new and some old, but they will be handled in specific tickets.
Comment 20 Eclipse Genie CLA 2018-05-24 10:48:19 EDT
New Gerrit change created: https://git.eclipse.org/r/123280
Comment 22 Guillaume Coutable CLA 2018-05-25 04:18:38 EDT
Technical issue
Comment 23 Laurent Redor CLA 2018-06-27 11:55:40 EDT
Available in Sirius 6.0.0, see https://wiki.eclipse.org/Sirius/6.0.0 for details