*** Settings ***
Variables           variables.py
Resource            plone/app/robotframework/selenium.robot
Resource            plone/app/robotframework/keywords.robot
Resource            ../lib/keywords.robot
Library             Remote    ${PLONE_URL}/RobotRemote
Library             DebugLibrary

Test Setup          Prepare test browser
Test Teardown       Close all browsers


*** Test Cases ***
Page contains just one meta for viewport
    Disable autologin
    Go To    ${PLONE_URL}/test_rendering
    Then Page Should Contain Element    //meta[@name='generator']    limit=1
    Then Page Should Contain Element    //meta[@name='viewport']    limit=1
