-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated blog post edit comments tests (#96)
* feature/APPS-871: Adjusted existing helper methods and deleted all java docs. * feature/APPS-871: Adjusted existing methods and deleted java docs * feature/APPS-871: Ajusted helper methods * feature/APPS-871: Renamed methods * feature/APPS-871: Addressed suggestions #1 * feature/APPS-871: Renamed test class * feature/APPS-871: Adjusted helper methods, cleanup the code from unused methods/imports and renamed few methods * feature/APPS-871: Added loggers and cleanup PageObject class * feature/APPS-871: Renamed methods and decoupled chaining methods from different objects * feature/APPS-871: Updated BlogPostEditCommentsTests * Added BlogPostFilters and let only one method which is called filterPostBy(BlogPostFilters filters) * deleted .html file
- Loading branch information
1 parent
bc0d0ea
commit 528001f
Showing
13 changed files
with
212 additions
and
818 deletions.
There are no files selected for viewing
627 changes: 0 additions & 627 deletions
627
...esco-tas-share-test/Test Results - BlogPostAddCommentTests_addCommentToDraftBlogPost.html
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
alfresco-tas-share-test/src/main/java/org/alfresco/po/enums/BlogPostFilters.java
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,28 @@ | ||
package org.alfresco.po.enums; | ||
|
||
public enum BlogPostFilters | ||
{ | ||
MY_DRAFTS_POSTS("ul.filterLink span.mydrafts>a", "My Draft Posts"), | ||
MY_PUBLISHED_POSTS("ul.filterLink span.mypublished>a", "My Published Posts"), | ||
LATEST_POSTS("ul.filterLink span.new>a", "New Posts"), | ||
ALL_POSTS("ul.filterLink span.all>a", "All Posts"); | ||
|
||
private final String locator; | ||
private final String expectedFilterLabel; | ||
|
||
BlogPostFilters(String locator, String expectedFilterLabel) | ||
{ | ||
this.locator = locator; | ||
this.expectedFilterLabel = expectedFilterLabel; | ||
} | ||
|
||
public String getLocator() | ||
{ | ||
return locator; | ||
} | ||
|
||
public String getExpectedFilterLabel() | ||
{ | ||
return expectedFilterLabel; | ||
} | ||
} |
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
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
Oops, something went wrong.