Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Juan Pablo Giménez
committed
Apr 19, 2013
1 parent
116c57c
commit 5995f6b
Showing
3 changed files
with
53 additions
and
0 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,46 @@ | ||
*** Settings *** | ||
|
||
Library Selenium2Library timeout=5 seconds implicit_wait=3 seconds | ||
Resource keywords.txt | ||
Resource cover_keywords.txt | ||
Variables plone/app/testing/interfaces.py | ||
|
||
Suite Setup Start Browser and Log In | ||
Suite Teardown Close Browser | ||
|
||
*** Variables *** | ||
|
||
${basic_tile_location} /html/body/div/div[2]/div/div[2]/div[2]/div[3]/div | ||
${basic_uuid} 12345 | ||
${document_selector} .ui-draggable .contenttype-document | ||
${file_selector} .ui-draggable .contenttype-file | ||
${image_selector} .ui-draggable .contenttype-image | ||
${link_selector} .ui-draggable .contenttype-link | ||
${tile_selector} div.tile-container div.tile | ||
${news_item_selector} .ui-draggable .contenttype-news-item | ||
${news_item_title} Test news item | ||
${news_item_description} This news item was created for testing purposes | ||
|
||
*** Test cases *** | ||
|
||
Test issue_59 | ||
Create Cover Title Description Empty layout | ||
Click Link link=Layout | ||
|
||
Add Tile | ||
Select Tile to Add ${basic_tile_location} | ||
Save Cover Layout | ||
|
||
Click Link link=Compose | ||
Page Should Contain Please drag&drop some content here to populate the tile. | ||
|
||
Open Browser http://localhost:${PORT}/VirtualHostBase/http/127.0.0.1:${PORT}/plone/VirtualHostRoot/_vh_subplone/title-1 | ||
Page Should Contain Please drag&drop some content here to populate the tile. | ||
|
||
Switch Browser 1 | ||
Click Link link=Layout | ||
Delete Tile | ||
Save Cover Layout | ||
|
||
Switch Browser 2 | ||
Close Browser |