On 08/19/2014 12:12 PM, vincent(a)massol.net wrote:
Hi devs,
ATM our selenium2-based test fwk for functional tests only supports one skin (Colibri).
Guillaume is currently fixing the functional tests by changing our test framework to work
with Flamingo.
After his changes are made our framework won’t work anymore with Colibri.
The question is:
* Is this ok?
* Do we want to change the framework to support multiple skins? In this case we would
need to introduce Interfaces everywhere, for each Page Object to have various
implementations.
One example of difference is Hover vs Clicking for the top level menus. Another example
is that we don’t have anymore a contentmenu; it’s 3 buttons. Etc.
Any opinion?
Tests should work on different skins. At some point we did have some
support for skins, in the old xe-test-selenium module [1], but this
feature didn't survive the pageobjects revolution.
[1]
https://github.com/xwiki/xwiki-enterprise/tree/master/xwiki-enterprise-test…
--
Sergiu Dumitriu
http://purl.org/net/sergiu