[Products.Silva][Sylvain Viollon] Add an inspect listing_groups ...

[email protected] Thu, 14 Nov 2013 16:38:39 +0100
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Sylvain Viollon
date:      Thu Nov 14 16:38:22 2013 +0100
revision:  11885:82728b797cac in Products.Silva
branch:    2.4
details:   https://hg.infrae.com/Products.Silva?cmd=changeset;node=82728b797cac
modified:  Products/Silva/ftesting.py
added:     
removed:   
log:       Add an inspect listing_groups to open groups of listing.


diffstat:

 Products/Silva/ftesting.py |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 28198ccd192a -r 82728b797cac Products/Silva/ftesting.py
--- a/Products/Silva/ftesting.py	Thu Nov 14 15:42:24 2013 +0100
+++ b/Products/Silva/ftesting.py	Thu Nov 14 16:38:22 2013 +0100
@@ -206,6 +206,10 @@
         type='clickable')
     # Folder listing
     browser.inspect.add(
+        'listing_groups',
+        xpath='//dl[@class="listing"]/dt',
+        type='clickable')
+    browser.inspect.add(
         'listing',
         xpath='//dl[@class="listing"]//tr[contains(@class,"item")]',
         nested={