Bug 457804 - Upgrade our tests to a more current version of SWTbot
Summary: Upgrade our tests to a more current version of SWTbot
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 6.0.0   Edit
Assignee: Florian Barbin CLA
QA Contact: Guillaume Coutable CLA
URL:
Whiteboard: tests infra swtbot
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-01-19 03:23 EST by Pierre-Charles David CLA
Modified: 2018-06-27 11:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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