Re: testing under Plone 5

Asko Soukka <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Hi Hector,

selectors have changed between Plone 4 and Plone 5 and we have only a 
sketch of a solution ready for that: Let's define set of variables to 
define those selectors and make those variables have different values 
for Plone 4.x and 5.x.

It would be awesome if you could contribute.

Everything should already be in place. We just need to define the 
variables and start using them.

Plone 4 and 5 specific variable files are here:

https://github.com/plone/plone.app.robotframework/tree/master/src/plone/app/robotframework/selectors

I created those at the Cathedral sprint, but then run out of time, so 
they are still empty

They are alredy included by selenium.robot (which again is included by 
keyword.robot, if you use that one).

So, only thing missing are those selectors. Once you add them, you can 
use them and your issue should be solved :)

Best Regards
Asko


Héctor Velarde wrote:
> I created a workaround while we found a better solution:
> https://github.com/simplesconsultoria/sc.photogallery/commit/4b34a7e97e8903f7f95a362a4bbd2a3d9184c546
>
> now I'm stock with the RF tests: seems that the new toolbar doesn't have
> the same structure as the original green bar on previous versions:
>
> AssertionError: The element 'css=dl#plone-contentmenu-factories span'
> should be visible, but it is not.
>
> how can we solve this?
>
> Héctor Velarde
>

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Plone-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.