Skip to content

Commit

Permalink
Mark link integrity tests as non-critical
Browse files Browse the repository at this point in the history
Tests are failing under Plone 4.2 and under Plone 4.3 with plone.app.contenttypes installed.
  • Loading branch information
hvelarde committed Mar 31, 2016
1 parent 5581b94 commit 3eccc81
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/collective/cover/tests/test_link_integrity.robot
Expand Up @@ -20,6 +20,7 @@ ${edit_link_selector} a.edit-tile-link
*** Test cases ***

Test Link Integrity on Basic Tile
[Tags] issue_615
Enable Autologin as Manager
Go to Homepage
Create Cover Title Description
Expand All @@ -43,6 +44,7 @@ Test Link Integrity on Basic Tile
Click Button Cancel

Test Link Integrity on RichText Tile
[Tags] issue_615
Enable Autologin as Manager
Go to Homepage
Create Cover Title Description
Expand Down
9 changes: 9 additions & 0 deletions src/collective/cover/tests/test_robot.py
Expand Up @@ -10,6 +10,8 @@
Issue related
They are failing under certain reproducible circunstances.
"""
from collective.cover.config import PLONE_VERSION
from collective.cover.testing import DEXTERITY_ONLY
from collective.cover.testing import ROBOT_TESTING
from plone.testing import layered

Expand All @@ -23,6 +25,13 @@

noncritical = ['Expected Failure', 'Mandelbug']

# XXX: Link integrity tests fail under Plone 4.2 and under
# Plone 4.3 with plone.app.contenttypes installed
# https://github.com/collective/collective.cover/issues/615
if PLONE_VERSION.startswith('4.2') or \
(PLONE_VERSION.startswith('4.3') and DEXTERITY_ONLY):
noncritical.append('issue_615')


def test_suite():
suite = unittest.TestSuite()
Expand Down

0 comments on commit 3eccc81

Please sign in to comment.