forked from liferay/liferay-portal
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
1 parent
771f723
commit c7e1597
Showing
2 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...functional/com/liferay/portalweb2/enduser/collaboration/CollaborationAcceptance.testsuite
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<definition> | ||
<execute test-case="PGBlogsAcceptance" /> | ||
|
||
<execute test-case="PGMessageboardsAcceptance" /> | ||
</definition> |
69 changes: 69 additions & 0 deletions
69
...liferay/portalweb2/enduser/collaboration/messageboards/PGMessageboardsAcceptance.testcase
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,69 @@ | ||
<definition> | ||
<set-up> | ||
<execute macro="User#pgFirstLogin" /> | ||
</set-up> | ||
<command name="AddMBCategory"> | ||
<var name="pageName" value="Message Boards Test Page" /> | ||
<var name="portletName" value="Message Boards" /> | ||
<var name="categoryName" value="MB Category Name" /> | ||
|
||
<execute macro="Page#pgAdd" /> | ||
|
||
<execute macro="Portlet#pgAdd" /> | ||
|
||
<execute macro="Messageboards#pgAddCategory" /> | ||
|
||
</command> | ||
|
||
<command name="AddMBThread"> | ||
<var name="pageName" value="Message Boards Test Page" /> | ||
<var name="portletName" value="Message Boards" /> | ||
<var name="threadSubject" value="MB Thread Message Subject" /> | ||
<var name="threadBody" value="MB Thread Message Body" /> | ||
|
||
<execute macro="Page#pgAdd" /> | ||
|
||
<execute macro="Portlet#pgAdd" /> | ||
|
||
<execute macro="Messageboards#pgAddThread" /> | ||
</command> | ||
|
||
<command name="DeleteMBThread"> | ||
<var name="pageName" value="Message Boards Test Page" /> | ||
<var name="portletName" value="Message Boards" /> | ||
<var name="threadSubject" value="MB Thread Message Subject" /> | ||
<var name="threadBody" value="MB Thread Message Body" /> | ||
|
||
<execute macro="Page#pgAdd" /> | ||
|
||
<execute macro="Portlet#pgAdd" /> | ||
|
||
<execute macro="Messageboards#pgAddThread" /> | ||
|
||
<execute macro="Messageboards#pgDeleteThread" /> | ||
</command> | ||
|
||
<command name="ReplyMBThread"> | ||
<var name="pageName" value="Message Boards Test Page" /> | ||
<var name="portletName" value="Message Boards" /> | ||
<var name="threadSubject" value="MB Thread Message Subject" /> | ||
<var name="threadBody" value="MB Thread Message Body" /> | ||
<var name="threadReplyBody" value="MB Thread Reply Body" /> | ||
|
||
<execute macro="Page#pgAdd" /> | ||
|
||
<execute macro="Portlet#pgAdd" /> | ||
|
||
<execute macro="Messageboards#pgAddThread" /> | ||
|
||
<execute macro="Messageboards#pgReplyThread" /> | ||
</command> | ||
|
||
<tear-down> | ||
<execute macro="Messageboards#cpTearDown" /> | ||
|
||
<execute macro="Page#pgTearDown" /> | ||
|
||
<execute macro="User#pgLogout" /> | ||
</tear-down> | ||
</definition> |