Task #4452 (closed)
Opened 13 years ago
Closed 11 years ago
Selenium tests on hudson
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | critical | Milestone: | Testing and Docs |
Component: | Web | Version: | 4.4.8 |
Keywords: | n.a. | Cc: | cneves, atarkowska, jamoore, cxallan, wmoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description (last modified by atarkowska)
We have a small number of tests in webadmin/tests/seleniumtests.py, enough to get tests running on hudson.
Selenium Plugin on hudson http://wiki.hudson-ci.org/display/HUDSON/Selenium+Plugin
Change History (26)
comment:1 Changed 13 years ago by jmoore
- Remaining Time set to 1
- Sprint changed from 2011-02-24 (6) to 2011-03-10 (7)
comment:2 Changed 13 years ago by atarkowska
- Description modified (diff)
- Owner changed from jmoore to atarkowska
- Remaining Time changed from 1 to 2
comment:3 Changed 13 years ago by atarkowska
- Cc jmoore added
comment:4 Changed 13 years ago by Aleksandra Tarkowska <aleksandrat@…>
(In [97f15c68eb46f954184c20060aa45b68bd36da1f/ome.git] on branch develop) Every build has to produce at least one junit-compatible XML file, see #2990, see #4452
comment:5 Changed 13 years ago by atarkowska
- Status changed from new to accepted
comment:6 Changed 13 years ago by atarkowska
- Owner atarkowska deleted
- Status changed from accepted to new
comment:7 Changed 13 years ago by atarkowska
- Owner set to atarkowska
comment:8 Changed 13 years ago by atarkowska
- Remaining Time changed from 2 to 1
At this moment selenium are started only on linux environment. Tests are failing because there are no supported web browsers installed:
Traceback (most recent call last): File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/omeroweb/webadmin/tests/seleniumtests.py",> line 93, in setUp super(AdminTests, self).setUp() File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/omeroweb/webgateway/tests/seleniumbase.py",> line 139, in setUp self.selenium = self.SERVER.getSelenium() File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/omeroweb/webgateway/tests/seleniumbase.py",> line 70, in getSelenium self.selenium.start() File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/selenium.py",> line 189, in start result = self.get_string("getNewBrowserSession", [self.browserStartCommand, self.browserURL, self.extensionJs]) File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/selenium.py",> line 219, in get_string result = self.do_command(verb, args) File "<http://hudson.openmicroscopy.org.uk/job/OMERO-trunk-components/./component=web,label=linux/ws/src/dist/lib/python/selenium.py",> line 215, in do_command raise Exception, data Exception: ERROR: Could not retrieve a new session
comment:9 Changed 13 years ago by atarkowska
- Sprint changed from 2011-03-10 (7) to 2011-03-24 (8)
comment:10 Changed 13 years ago by atarkowska
- Remaining Time changed from 1 to 0.5
comment:11 Changed 13 years ago by atarkowska
- Sprint changed from 2011-03-24 (8) to 2011-04-07 (9)
comment:12 Changed 13 years ago by atarkowska
- Owner changed from atarkowska to jmoore
Josh, I am passing it to you. Once any infrastructure changes appear I am glad to continue.
comment:13 Changed 13 years ago by atarkowska
- Cc atarkowska added; jmoore removed
comment:14 Changed 13 years ago by cxallan
- Sprint changed from 2011-04-07 (9) to 2011-04-21 (10)
Moved from sprint 2011-04-07 (9)
comment:15 Changed 13 years ago by jburel
- Sprint changed from 2011-04-21 (10) to 2011-05-05 (11)
Moved from sprint 2011-04-21 (10)
comment:16 Changed 13 years ago by jmoore
- Sprint 2011-05-05 (11) deleted
comment:17 Changed 13 years ago by jmoore
- Cc jmoore added
- Owner jmoore deleted
comment:18 Changed 13 years ago by wmoore
- Milestone changed from OMERO-Beta4.3 to Unscheduled
comment:19 Changed 13 years ago by jmoore
- Cc cxallan added
- Milestone changed from Unscheduled to OMERO-Beta4.3.2
After https://www.openmicroscopy.org/site/community/minutes/minigroup/webmeeting/2011/2011-07-26, putting this back in 4.3.2 for evaluation. Minimally need xvfb on all linux servers.
comment:20 Changed 13 years ago by atarkowska
- Milestone changed from OMERO-Beta4.3.2 to Unscheduled
comment:21 Changed 13 years ago by atarkowska
Due to large number of UI changes we will come back to selenium testing later once UI design is more stable.
comment:22 Changed 11 years ago by jamoore
- Cc wmoore added
- Milestone changed from Unscheduled to Testing
- Version set to 4.4.8
For evaluation over the summer.
comment:23 Changed 11 years ago by mtbcarroll
Note that Robot Framework supports both Selenium 2 and Java Swing, which might help to reduce maintenance overhead for test scripts that apply to both Insight and Web. I'll take a closer look at the Java side of RF next week in working on #11210.
comment:24 Changed 11 years ago by jamoore
- Owner set to wmoore
- Priority changed from major to critical
Passing this to Will. It might be that someone else creates the job, but it seems like as this is one of the major goals of the summer's testing, Will should be happy and sign-off on whatever is setup.
comment:25 Changed 11 years ago by jamoore
See also #5997
comment:26 Changed 11 years ago by jburel
- Remaining Time changed from 0.5 to 0
- Resolution set to invalid
- Status changed from new to closed
The selenium tests have been rewritten using the RobotFramework.
See components/tests/ui/web
The test should be removed. Another ticket will be created.
Will, there's no way I'll be able to address this for Thursday. Pushing to the next sprint. If anyone can pick it up before then, that'd be great. As of #4404, tests are being run for the OMERO-trunk-components job, so having these active would be useful. This will require on Linux either getting nginx (perhaps via a manual compile) or using the development server. On Windows, this will be trickier since it involves IIS.