Testing test_functional_browser_cart.txt gives following error.
$ ./bin/instance test -s Products.PloneGetPaid -t test_functional_browser_cart_txt
line 88, in test_functional_browser_cart.txt Failed example: browser.getLink('Add to Cart').click() Exception raised: Traceback (most recent call last): File "/home/taito/Development/homepage/parts/zope2/lib/python/zope/testing/doctest.py", line 1348, in __run compileflags, 1) in test.globs File "<doctest test_functional_browser_cart.txt[55]>", line 1, in ? browser.getLink('Add to Cart').click() File "/home/taito/Development/homepage/parts/zope2/lib/python/zope/testbrowser/browser.py", line 297, in getLink return Link(self.mech_browser.find_link(**args), self) File "/home/taito/Development/homepage/parts/zope2/lib/python/mechanize/_mechanize.py", line 499, in find_link raise LinkNotFoundError() LinkNotFoundError
Need to fix line 88
>>> browser.getLink('Add to Cart').click()
>>> browser.getControl('Add to Cart').click()
Comment #1
Posted on Apr 17, 2010 by Grumpy Lionin version = 0.8.6dev it s fixed
Status: New
Labels:
Type-Defect
Priority-Medium