Skip to content

Commit

Permalink
LPS-34086 - Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyoshilee authored and michaelhashimoto committed Mar 29, 2013
1 parent 771f723 commit c7e1597
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
@@ -1,3 +1,5 @@
<definition>
<execute test-case="PGBlogsAcceptance" />

<execute test-case="PGMessageboardsAcceptance" />
</definition>
@@ -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>

0 comments on commit c7e1597

Please sign in to comment.