Permalink
Browse files

move general Plone stuff to plone.act

  • Loading branch information...
1 parent 8406ac3 commit e6bac72900ce2ea4b761b3658a3853bc7786c078 @gotcha gotcha committed May 25, 2012
View
@@ -1,4 +1,5 @@
bin/
+devel/
develop-eggs/
include/
lib/
@@ -1,5 +1,5 @@
*** Settings ***
-Resource plone.txt
+Resource plone/act/plone.txt
Suite Setup Start browser and wake Plone up
Suite Teardown Close browser
@@ -1,5 +1,5 @@
*** Settings ***
-Resource plone.txt
+Resource plone/act/plone.txt
Suite setup Log in admin admin
@@ -1,2 +0,0 @@
-*** Settings ***
-Library Selenium2Library run_on_failure=Capture Page Screenshot
View
@@ -1,160 +0,0 @@
-*** Settings ***
-Resource library-settings.txt
-
-*** Variables ***
-
-${PORT} = 5000
-${ZOPE_URL} = http://localhost:${PORT}
-${PLONE_URL} = ${ZOPE_URL}/Plone
-${BROWSER} = Firefox
-
-*** Keywords ***
-
-Start browser and wake plone up
-
- Set Selenium timeout 10s
- Set Selenium implicit wait 0.2s
-
- ${previous} Register keyword to run on failure Close Browser
- Wait until keyword succeeds 2min 3s Access plone
- Register keyword to run on failure ${previous}
-
- Wait until keyword succeeds 30s 1s Log in admin admin
- Log out
-
-Access plone
- Open browser ${ZOPE_URL} ${BROWSER}
- Goto homepage
- [Return] True
-
-Close browser and selenium server
- Close browser
-
-Goto homepage
- Go to ${PLONE_URL}
- Page should contain Dr Jekyll Diagnosis
-
-Log out
- Go to ${PLONE_URL}/logout
- Page should contain logged out
-
-Log in
- [Arguments] ${userid} ${password}
- Go to ${PLONE_URL}/login_form
- Page should contain element __ac_name
- Input text __ac_name ${userid}
- Input text __ac_password ${password}
- Click Button Log in
- Go to ${PLONE_URL}
- [Return] True
-
-Click Overlay Link
- [Arguments] ${element}
- Click Link ${element}
- Wait Until Page Contains Element css=div.pb-ajax div#content-core
-
-Should be above
- [Arguments] ${locator1} ${locator2}
-
- ${locator1-position} = Get vertical position ${locator1}
- ${locator2-position} = Get vertical position ${locator2}
- Should be true ${locator1-position} < ${locator2-position}
-
-Open Menu
- [Arguments] ${elementId}
-
- Element Should Be Visible css=dl#${elementId} span
- Element Should Not Be Visible css=dl#${elementId} dd.actionMenuContent
- Click link css=dl#${elementId} dt.actionMenuHeader a
- Wait until keyword succeeds 1 5 Element Should Be Visible css=dl#${elementId} dd.actionMenuContent
-
-Open User Menu
- Open Menu portal-personaltools
-
-Open Add New Menu
- Open Menu plone-contentmenu-factories
-
-Open Display Menu
- Open Menu plone-contentmenu-display
-
-Open Action Menu
- Open Menu plone-contentmenu-actions
-
-Open Workflow Menu
- Open Menu plone-contentmenu-workflow
-
-Click ${name} In Edit Bar
- Element Should Contain css=div#edit-bar ul#content-views ${name}
- Click Link ${name}
-
-Click Actions ${name}
- Open Action Menu
- Element Should Contain css=dl#plone-contentmenu-actions dd.actionMenuContent ${name}
- Click Link ${name}
-
-Click Cut Action
- Click Actions Cut
-
-Click Copy Action
- Click Actions Copy
-
-Click Delete Action
- Click Actions Delete
-
-Click Rename Action
- Click Actions Rename
-
-Add Page
- [arguments] ${title}
-
- Open Add New Menu
- Click Link link=Page
- Input Text title ${title}
- Click button name=form.button.save
- Page Should Contain Changes saved.
-
-Remove Content
- [arguments] ${id}
-
- Go to ${PLONE_URL}/${id}
- Page Should Contain Element css=body.section-${id}
- Click Delete Action
- Wait Until Page Contains Element css=input.destructive
- Click Button css=input.destructive
- Page Should Contain Plone site
-
-Rename Content Title
- [arguments] ${id} ${new_title}
-
- Go to ${PLONE_URL}/${id}
- Page Should Contain Element css=body.section-${id}
- Click Rename Action
- Wait Until Page Contains Element css=input#${id}_id
- Input Text css=input#${id}_title ${new_title}
- Click Button Rename All
-
-
-Create folder
- [arguments] ${title}
-
- Goto homepage
- Open Add New Menu
- Click Link css=#plone-contentmenu-factories a#folder
- Element should be visible css=#archetypes-fieldname-title input
- Input Text title ${title}
- Click Button Save
- Page should contain ${title}
- Element should contain css=#parent-fieldname-title ${title}
-
-Create document
- [arguments] ${title}
-
- Create folder Folder for ${title}
- Open Add New Menu
- Click Link css=#plone-contentmenu-factories a#document
- Element should be visible css=#archetypes-fieldname-title input
- Input Text title ${title}
- Click Button Save
- Page should contain ${title}
- Element should contain css=#parent-fieldname-title ${title}
-
@@ -1,111 +0,0 @@
-[versions]
-# ZTK
-zope.annotation = 3.5.0
-zope.applicationcontrol = 3.5.5
-zope.authentication = 3.7.1
-zope.broken = 3.6.0
-zope.browser = 1.3
-zope.browsermenu = 3.9.1
-zope.browserpage = 3.12.2
-zope.browserresource = 3.10.3
-zope.cachedescriptors = 3.5.1
-zope.catalog = 3.8.2
-zope.component = 3.9.5
-zope.componentvocabulary = 1.0.1
-zope.configuration = 3.7.4
-zope.container = 3.11.2
-zope.contentprovider = 3.7.2
-zope.contenttype = 3.5.5
-zope.copy = 3.5.0
-zope.copypastemove = 3.7.0
-zope.datetime = 3.4.1
-zope.deferredimport = 3.5.3
-zope.deprecation = 3.4.1
-zope.dottedname = 3.4.6
-zope.dublincore = 3.7.0
-zope.error = 3.7.4
-zope.event = 3.5.1
-zope.exceptions = 3.6.1
-zope.filerepresentation = 3.6.1
-zope.formlib = 4.0.6
-zope.hookable = 3.4.1
-zope.i18n = 3.7.4
-zope.i18nmessageid = 3.5.3
-zope.index = 3.6.3
-zope.interface = 3.6.7
-zope.intid = 3.7.2
-zope.keyreference = 3.6.4
-zope.lifecycleevent = 3.6.2
-zope.location = 3.9.1
-zope.login = 1.0.0
-zope.mimetype = 1.3.1
-zope.minmax = 1.1.2
-zope.pagetemplate = 3.5.2
-zope.password = 3.6.1
-zope.pluggableauth = 1.0.3
-zope.principalannotation = 3.6.1
-zope.principalregistry = 3.7.1
-zope.processlifetime = 1.0
-zope.proxy = 3.6.1
-zope.ptresource = 3.9.0
-zope.publisher = 3.12.6
-zope.ramcache = 1.0
-zope.schema = 3.7.1
-zope.security = 3.7.4
-zope.securitypolicy = 3.7.0
-zope.sendmail = 3.7.4
-zope.sequencesort = 3.4.0
-zope.server = 3.6.3
-zope.session = 3.9.5
-zope.site = 3.9.2
-zope.size = 3.4.1
-zope.structuredtext = 3.5.1
-zope.tal = 3.5.2
-zope.tales = 3.5.1
-zope.testing = 3.9.7
-zope.traversing = 3.13.2
-zope.viewlet = 3.7.2
-
-# Deprecating
-zope.documenttemplate = 3.4.3
-
-# Dependencies
-# Needed for the mechanize 0.1.x.
-ClientForm = 0.2.10
-distribute = 0.6.24
-docutils = 0.7
-Jinja2 = 2.5.5
-# Newer versions of mechanize are not fully py24 compatible.
-mechanize = 0.1.11
-Paste = 1.7.5.1
-PasteDeploy = 1.3.4
-PasteScript = 1.7.5
-py = 1.3.4
-Pygments = 1.3.1
-python-gettext = 1.0
-pytz = 2011n
-RestrictedPython = 3.6.0
-setuptools = 0.6c11
-Sphinx = 1.0.8
-transaction = 1.1.1
-unittest2 = 0.5.1
-z3c.recipe.sphinxdoc = 0.0.8
-zc.buildout = 1.4.4
-zc.lockfile = 1.0.0
-ZConfig = 2.8.0
-zc.recipe.egg = 1.2.2
-zc.recipe.testrunner = 1.2.1
-zc.resourcelibrary = 1.3.4
-zdaemon = 2.0.4
-ZODB3 = 3.9.7
-zope.mkzeoinstance = 3.9.5
-
-# toolchain
-argparse = 1.1
-lxml = 2.2.8
-mr.developer = 1.18
-tl.eggdeps = 0.4
-z3c.checkversions = 0.4.1
-z3c.recipe.compattest = 0.12.2
-z3c.recipe.depgraph = 0.5
-zope.kgs = 1.2.0
@@ -1,44 +0,0 @@
-[buildout]
-extends = http://download.zope.org/zopetoolkit/index/1.0.6/ztk-versions.cfg
-versions = versions
-
-[versions]
-# Zope2-specific
-Zope2 = 2.13.13
-AccessControl = 2.13.7
-Acquisition = 2.13.8
-DateTime = 2.12.6
-DocumentTemplate = 2.13.2
-ExtensionClass = 2.13.2
-initgroups = 2.13.0
-Missing = 2.13.1
-MultiMapping = 2.13.0
-nt-svcutils = 2.13.0
-Persistence = 2.13.2
-Products.BTreeFolder2 = 2.13.4
-Products.ExternalMethod = 2.13.0
-Products.MailHost = 2.13.1
-Products.MIMETools = 2.13.0
-Products.OFSP = 2.13.2
-Products.PythonScripts = 2.13.0
-Products.StandardCacheManagers = 2.13.0
-Products.ZCatalog = 2.13.22
-Products.ZCTextIndex = 2.13.3
-Record = 2.13.0
-tempstorage = 2.12.1
-zExceptions = 2.13.0
-zLOG = 2.11.1
-ZopeUndo = 2.12.0
-
-# ZTK KGS overrides
-manuel = 1.1.1
-mechanize = 0.2.5
-python-gettext = 1.2
-ZConfig = 2.9.0
-ZODB3 = 3.10.5
-
-# Zope2 dependencies
-repoze.retry = 1.0
-repoze.tm2 = 1.0b2
-repoze.who = 2.0
-zope.testbrowser = 3.11.1
Oops, something went wrong.

0 comments on commit e6bac72

Please sign in to comment.