-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix issue #871 and #859 * Update CHANGES.rts * Update CHANGES.rts * Update test_layout.robot and Test_resize * Update test_layout_resize.robot * Update CHANGES.rst * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot * Update CHANGES.rst * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot * Update CHANGES.rst * Update test_layout_resize.robot * Update CHANGES.rst * Update test_layout_resize.robot * Update CHANGES.rst * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot * Update test_layout_resize.robot
- Loading branch information
Showing
4 changed files
with
49 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
*** Settings *** | ||
|
||
Resource cover.robot | ||
Library Remote ${PLONE_URL}/RobotRemote | ||
|
||
Suite Setup Open Test Browser | ||
Suite Teardown Close all browsers | ||
|
||
*** Variables *** | ||
|
||
${basic_tile_name} = "collective.cover.basic" | ||
${size_xpath} //*[@id="content"]/div[2]/div/div@data-column-size | ||
${text_xpath} //*[@id="column-size-resize"]/span | ||
|
||
*** Test cases *** | ||
|
||
Test Columns-Titles and Resize | ||
|
||
Enable Autologin as Site Administrator | ||
Go to Homepage | ||
Create Cover Save-Cover Test-cover | ||
Open Layout Tab | ||
Add Tile ${basic_tile_name} | ||
${data-size-before}= Get Element Attribute xpath=${size_xpath} | ||
Click Element css=i.resizer | ||
Wait until element is visible id=ui-id-1 | ||
${data-text-before}= Get Text xpath=${text_xpath} | ||
Drag And Drop By Offset css=a.ui-slider-handle.ui-state-default.ui-corner-all -30 0 | ||
${data-text-after}= Get Text xpath=${text_xpath} | ||
Should Be True """${data-text-before}""" != """${data-text-after}""" | ||
Click Element css=.ui-dialog-titlebar-close | ||
Save Cover Layout | ||
Click Link link=Compose | ||
Open Layout Tab | ||
${data-size-after}= Get Element Attribute xpath=${size_xpath} | ||
Should Be True """${data-size-before}""" != """${data-size-after}""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters