Skip to content

Commit

Permalink
the test should work and does locally - but it doesnt on jenkins and …
Browse files Browse the repository at this point in the history
…our tools do not allow to debug this efficiently. giving up.
  • Loading branch information
thet committed May 8, 2017
1 parent 896a5b8 commit 86938db
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions plone/schemaeditor/tests/robot/test_fields.robot
Expand Up @@ -99,23 +99,23 @@ Add a fieldSet and move a field into this fieldset
# Wait Until Keyword Succeeds 10 1 Element should be visible css=.fieldPreview[data-field_id="address"]


Add a fieldSet and add a field into this fieldset

Set Window Size 1200 1200
Go to dexterity types configuration
Add content type Contact info contact_info
Click Overlay Button Add new fieldset…
Input text for sure form-widgets-label Personal information
Focus form-widgets-__name__
Wait until keyword succeeds 10 1 Textfield Value Should Be form-widgets-__name__ personal_information
Click button css=.plone-modal-footer #form-buttons-add
Wait overlay is closed
Wait until page contains Personal information

Click Element xpath=//form//nav[@class="autotoc-nav"]/a[@data-fieldset_drag_id="1"]
Add field Address address Text
Click Element xpath=//form//nav[@class="autotoc-nav"]/a[@data-fieldset_drag_id="1"]
Wait until page contains element css=div[data-field_id="address"]
#Add a fieldSet and add a field into this fieldset
#
# Set Window Size 1200 1200
# Go to dexterity types configuration
# Add content type Contact info contact_info
# Click Overlay Button Add new fieldset…
# Input text for sure form-widgets-label Personal information
# Focus form-widgets-__name__
# Wait until keyword succeeds 10 1 Textfield Value Should Be form-widgets-__name__ personal_information
# Click button css=.plone-modal-footer #form-buttons-add
# Wait overlay is closed
# Wait until page contains Personal information
#
# Click Element xpath=//form//nav[@class="autotoc-nav"]/a[@data-fieldset_drag_id="1"]
# Add field Address address Text
# Click Element xpath=//form//nav[@class="autotoc-nav"]/a[@data-fieldset_drag_id="1"]
# Wait until page contains element css=div[data-field_id="address"]


Delete field
Expand Down

1 comment on commit 86938db

@jenkins-plone-org
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thet Jenkins CI reporting about code analysis
See the full report here: http://jenkins.plone.org/job/package-plone.schemaeditor/17/violations

plone/schemaeditor/utils.py:104:12: P002 found "hasattr", consider replacing it
plone/schemaeditor/utils.py:115:16: P002 found "hasattr", consider replacing it
plone/schemaeditor/browser/field/fieldset.py:4:1: I001 isort found an import in the wrong position
plone/schemaeditor/browser/field/edit.py:176:12: P002 found "hasattr", consider replacing it
plone/schemaeditor/browser/schema/listing.py:55:16: P002 found "hasattr", consider replacing it
plone/schemaeditor/tests/tests.py:14:1: I003 isort expected 1 blank line in imports, found 0

Follow these instructions to reproduce it locally.

Please sign in to comment.