Where are the keywords for running RF tests in Plone 5?

I'm trying to setup and environment to run Robot Framework tests under Plone 5 but seems the current keywords I'm using are not updated for the new UI:

Failure in test Test Basic Tile (test_basic_tile.robot)
Traceback (most recent call last):
  File "/home/hvelarde/collective/buildout.python/parts/opt/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/hvelarde/.buildout/eggs/robotsuite-2.0.0-py2.7.egg/robotsuite/__init__.py", line 458, in runTest
    assert last_status == 'PASS', last_message
AssertionError: Element with locator 'css=dl#plone-contentmenu-factories span' not found.

this is the ecosystem I'm using:

[versions]
plone.app.robotframework = 1.2.1
Pygments = 2.2.0
robotframework = 3.0.4
robotframework-selenium2library = 3.0.0
robotframework-selenium2screenshots = 0.8.1
robotframework-seleniumlibrary = 3.1.1
robotsuite = 2.0.0
selenium = 3.13.0
sphinxcontrib-robotdoc = 0.10.0
sphinxcontrib-robotframework = 0.8.0

I have fixed them at master https://github.com/plone/plone.app.robotframework/pull/83

1 Like

awesome! we need a release of plone.app.robotframework then; I would number it as 2.0 as it breaks backwards compatibility with Plone 4.

BTW, I found a small issue in your pull request: I left a comment about some portal_properties related code that can be removed.