| Summary: | Remove selenium locator hooks | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Jay Shaughnessy <jshaughn> |
| Component: | Core UI | Assignee: | RHQ Project Maintainer <rhq-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.1 | CC: | hrupp, mfoley, mithomps |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-15 22:47:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jay Shaughnessy
2011-10-07 13:24:52 UTC
Additional commentary from irc with jshaughn and mtho11: we thought we were golden given that SmartGWT provided selenium integration out of box but things never worked well for whatever reasons the selenium functions for determining when a widget was present/visible/enabled never seems to work quite right and even with repeatable 'locator ids' it was still tedious to write testws those aids all had to be assembled in the test code etc so QA started looking for alternatives and found Sahi which does not actually use the locators, it uses a different mechanism for identifying widgets (i guess, I'm not familiar) I think it's positional or something like that Anyway, now we have all of this locator id stuff in place, and a bunch of 'Locatable' subclasses for smartgwt widgets. we also have a tone of destroy() methods implemented to avoids things like ID clashes. Meaning, proactive destruction as opposed to letting SmartGWT clean up the DOM at its leisure it's actually the destroy() stuff that could be the delicate point I'm not sure whether we should keep that stuff in there (and there is some support down in the Locatable subclasses) or try to take it out it's not really, so my thought would be to leave it in we may just have to create a couple of new Subclasses to replace the Locatables that have destroy support. Even though the destroy calls may not be necessary, proactive cleanup may not be a bad thing from a regression perspective I'd say leaving it as-is would be preferable *** Bug 786217 has been marked as a duplicate of this bug. *** Jay already removed the selenium stuff this is old and no longer relevant. |