[Testbot] Plone 5.0 - Python 2.7 - Build # 2738 - Still failing! - 0 failure(s)

jenkins at plone.org jenkins at plone.org
Tue Jul 1 14:21:19 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 2738 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/2738/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: plone.app.jquerytools
Branch: refs/heads/master
Date: 2014-07-01T16:22:17+02:00
Author: Timo Stollenwerk () <contact at timostollenwerk.net>
Commit: https://github.com/plone/plone.app.jquerytools/commit/482c0a522c1f91ff70a303dabaf8a13a95a27b63

Remove windmill tests since we never ran them in our CI setup, they were experimental and test the login form which is already tested by our robot tests in CMFPlone.

Files changed:
D plone/app/jquerytools/tests/windmill/README.txt
D plone/app/jquerytools/tests/windmill/__init__.py
D plone/app/jquerytools/tests/windmill/loginForm.py
D plone/app/jquerytools/tests/windmill/test_integration.py

diff --git a/plone/app/jquerytools/tests/windmill/README.txt b/plone/app/jquerytools/tests/windmill/README.txt
deleted file mode 100644
index a8244e8..0000000
--- a/plone/app/jquerytools/tests/windmill/README.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-Windmill browser integration tests
-
-Use:
-
-bin/test -s plone.app.jquerytools --tests-pattern=windmill
-
-Beware: these tests may move or be renamed.
\ No newline at end of file
diff --git a/plone/app/jquerytools/tests/windmill/__init__.py b/plone/app/jquerytools/tests/windmill/__init__.py
deleted file mode 100644
index e69de29..0000000
diff --git a/plone/app/jquerytools/tests/windmill/loginForm.py b/plone/app/jquerytools/tests/windmill/loginForm.py
deleted file mode 100644
index 02bf181..0000000
--- a/plone/app/jquerytools/tests/windmill/loginForm.py
+++ /dev/null
@@ -1,25 +0,0 @@
-# Generated by the windmill services transformer
-from windmill.authoring import WindmillTestClient
-
-
-def test_loginForm():
-    client = WindmillTestClient(__name__)
-
-    client.asserts.assertNode(id=u'anon-personalbar')
-    client.asserts.assertNode(jquery=u'("#anon-personalbar a.link-overlay")[0]')
-    client.click(jquery=u'("#anon-personalbar a.link-overlay")[0]')
-    client.waits.forElement(jquery=u'("div.pb-ajax #login_form")[0]', timeout=u'1000')
-    client.click(id=u'exposeMask')
-    client.waits.sleep(milliseconds=u'500')
-    client.asserts.assertNotNode(jquery=u'("div.pb-ajax #login_form")[0]')
-    client.asserts.assertNode(id=u'anon-personalbar')
-    client.asserts.assertNode(jquery=u'("#anon-personalbar a.link-overlay")[0]')
-    client.click(jquery=u'("#anon-personalbar a.link-overlay")[0]')
-    client.waits.forElement(jquery=u'("div.pb-ajax #login_form")[0]', timeout=u'1000')
-    client.click(name=u'submit')
-    client.waits.forElement(jquery=u"('div.pb-ajax dl .portalMessage .error dt')", timeout=u'1000')
-    client.type(text=u'admin', id=u'__ac_name')
-    client.type(text=u'admin', id=u'__ac_password')
-    client.click(name=u'submit')
-    client.waits.forPageLoad(timeout=u'20000')
-    client.asserts.assertNode(id=u'edit-bar')
diff --git a/plone/app/jquerytools/tests/windmill/test_integration.py b/plone/app/jquerytools/tests/windmill/test_integration.py
deleted file mode 100644
index dbe665f..0000000
--- a/plone/app/jquerytools/tests/windmill/test_integration.py
+++ /dev/null
@@ -1,63 +0,0 @@
-from Products.PloneTestCase.setup import setupPloneSite
-from Testing import ZopeTestCase as ztc
-from niteoweb.windmill import WindmillTestCase
-
-import unittest
-
-setupPloneSite(products=[])
-
-
-class IntegrationTestCaseAnon(WindmillTestCase):
-
-    def afterSetUp(self):
-        """Setup for each test
-        """
-        ztc.utils.setupCoreSessions(self.app)
-        self.setRoles(['Manager'])
-        self.login_user()
-
-    def test_login_popup(self):
-        """Check that login form works as popup; if it does, this confirms
-           overlays work for unauth users and that the refresh no-form
-           action works.
-        """
-        client = self.wm
-
-        # Log out so that we can test log in
-        client.click(link=u'Log out')
-        client.waits.forPageLoad(timeout=u'20000')
-        client.click(link=u'Home')
-        client.waits.forPageLoad(timeout=u'20000')
-
-        # Test that login option is set as an overlay
-        client.asserts.assertNode(id=u'anon-personalbar')
-        client.asserts.assertNode(jquery=u'("#anon-personalbar a.link-overlay")[0]')
-        # click on it, look for overlay
-        client.click(jquery=u'("#anon-personalbar a.link-overlay")[0]')
-        client.waits.forElement(jquery=u'("div.pb-ajax #login_form")[0]', timeout=u'1000')
-        # make sure that clicking outside dismisses popup
-        client.click(id=u'exposeMask')
-        client.waits.sleep(milliseconds=u'500')
-        client.asserts.assertNotNode(jquery=u'("div.pb-ajax #login_form")[0]')
-
-        # open popup again, try submitting empty; look for error.
-        # presence of error confirms that we're not losing the portal message
-        # in the popup form contents filter.
-        client.asserts.assertNode(id=u'anon-personalbar')
-        client.asserts.assertNode(jquery=u'("#anon-personalbar a.link-overlay")[0]')
-        client.click(jquery=u'("#anon-personalbar a.link-overlay")[0]')
-        client.waits.forElement(jquery=u'("div.pb-ajax #login_form")[0]', timeout=u'1000')
-        client.click(name=u'submit')
-        client.waits.forElement(jquery=u"('div.pb-ajax dl .portalMessage .error dt')", timeout=u'1000')
-
-        # try again with real login
-        client.type(text=u'portal_owner', id=u'__ac_name')
-        client.type(text=u'secret', id=u'__ac_password')
-        client.click(name=u'submit')
-        # expect a page load
-        client.waits.forPageLoad(timeout=u'20000')
-        client.asserts.assertNode(id=u'portal-personaltools')
-
-
-def test_suite():
-    return unittest.defaultTestLoader.loadTestsFromName(__name__)




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 5663 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140701/88635c59/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 13575 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140701/88635c59/attachment-0003.obj>


More information about the Testbot mailing list