PHP Class VersionPress\Tests\End2End\Comments\CommentsTestSeleniumWorker

Inheritance: extends VersionPress\Tests\End2End\Utils\SeleniumWorker, implements VersionPress\Tests\End2End\Comments\ICommentsTestWorker
Show file Open project: versionpress/versionpress

Public Methods

Method Description
approveComment ( )
approveTwoComments ( )
commentmetaCreate ( )
commentmetaDelete ( )
createComment ( )
createCommentAwaitingModeration ( )
createSpamComment ( )
deleteComment ( )
deleteTwoComments ( )
editComment ( )
editTwoComments ( )
markAsNotSpam ( )
markAsSpam ( )
markTwoCommentsAsSpam ( )
markTwoSpamCommentsAsNotSpam ( )
moveTwoCommentsFromTrash ( )
moveTwoCommentsInTrash ( )
prepare_approveComment ( )
prepare_approveTwoComments ( )
prepare_commentmetaCreate ( )
prepare_commentmetaDelete ( )
prepare_createComment ( )
prepare_createCommentAwaitingModeration ( )
prepare_createSpamComment ( )
prepare_deleteComment ( )
prepare_deleteTwoComments ( )
prepare_editComment ( )
prepare_editTwoComments ( )
prepare_markAsNotSpam ( )
prepare_markAsSpam ( )
prepare_markTwoCommentsAsSpam ( )
prepare_markTwoSpamCommentsAsNotSpam ( )
prepare_moveTwoCommentsFromTrash ( )
prepare_moveTwoCommentsInTrash ( )
prepare_trashComment ( )
prepare_unapproveComment ( )
prepare_unapproveTwoComments ( )
prepare_untrashComment ( )
trashComment ( )
unapproveComment ( )
unapproveTwoComments ( )
untrashComment ( )

Protected Methods

Method Description
logOut ( )

Private Methods

Method Description
clickEditLink ( ) On the post view, clicks the Edit link for the first comment
createNewComment ( ) Creates new comment for the test post and stays on that page after postback
createTestPost ( )
performBulkActionWithTwoLastComments ( $action )
prepareTestComment ( )

Method Details

approveComment() public method

public approveComment ( )

approveTwoComments() public method

public approveTwoComments ( )

commentmetaCreate() public method

public commentmetaCreate ( )

commentmetaDelete() public method

public commentmetaDelete ( )

createComment() public method

public createComment ( )

createCommentAwaitingModeration() public method

createSpamComment() public method

public createSpamComment ( )

deleteComment() public method

public deleteComment ( )

deleteTwoComments() public method

public deleteTwoComments ( )

editComment() public method

public editComment ( )

editTwoComments() public method

public editTwoComments ( )

logOut() protected method

protected logOut ( )

markAsNotSpam() public method

public markAsNotSpam ( )

markAsSpam() public method

public markAsSpam ( )

markTwoCommentsAsSpam() public method

markTwoSpamCommentsAsNotSpam() public method

moveTwoCommentsFromTrash() public method

moveTwoCommentsInTrash() public method

prepare_approveComment() public method

prepare_approveTwoComments() public method

prepare_commentmetaCreate() public method

prepare_commentmetaDelete() public method

prepare_createComment() public method

prepare_createCommentAwaitingModeration() public method

prepare_createSpamComment() public method

prepare_deleteComment() public method

prepare_deleteTwoComments() public method

prepare_editComment() public method

public prepare_editComment ( )

prepare_editTwoComments() public method

prepare_markAsNotSpam() public method

prepare_markAsSpam() public method

public prepare_markAsSpam ( )

prepare_markTwoCommentsAsSpam() public method

prepare_markTwoSpamCommentsAsNotSpam() public method

prepare_moveTwoCommentsFromTrash() public method

prepare_moveTwoCommentsInTrash() public method

prepare_trashComment() public method

prepare_unapproveComment() public method

prepare_unapproveTwoComments() public method

prepare_untrashComment() public method

trashComment() public method

public trashComment ( )

unapproveComment() public method

public unapproveComment ( )

unapproveTwoComments() public method

untrashComment() public method

public untrashComment ( )