Commits

Anonymous committed cfdc350

fixed editorpastedelete for plone 4 default skin

Comments (0)

Files changed (1)

ilrt/formalworkflow/tests/editorpastedelete.txt

 Now lets see if we can copy and paste the published document
 ===========================================================
 
-    >>> browser.open(portal_url + '/' + title)
-    >>> browser.getLink('[IMG] Copy').click()
-    >>> browser.open(portal_url + '/@@folder_contents')
-    >>> browser.getLink('[IMG] Paste').click()
+    >>> browser.open('%s/%s' % (portal_url, title))
+    >>> browser.getLink(id='copy').click()
+    >>> '%s copied' % title in browser.contents
+    True
+    >>> browser.open('%s/folder_contents' % portal_url)
+    >>> browser.getControl(name='folder_paste:method').click()
     >>> 'Item(s) pasted.' in browser.contents
     True
     >>> copyid = 'copy_of_' + title