use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.watch.WatchPageObject in project selenium-tests by Wikia.
the class FollowArticleTests method unfollowArticleIfFollowed.
@Test
@Execute(asUser = User.USER)
public void unfollowArticleIfFollowed() {
new ArticleContent().push(PageContent.ARTICLE_TEXT, ARTICLE_NAME);
ArticlePageObject article = new ArticlePageObject().open(ARTICLE_NAME);
WatchPageObject watch = article.unfollowArticle();
watch.confirmWatchUnwatch();
article.verifyPageUnfollowed();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.watch.WatchPageObject in project selenium-tests by Wikia.
the class MessageWallNotificationsFollowersResponseTests method followerNotificationResponse_setup_1.
@Test(groups = { "MessageWallNotificationsFollowersResponseTests_001" })
public void followerNotificationResponse_setup_1() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName7, credentials.password7, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName8);
WatchPageObject watch = wall.unfollowCurrentUrl();
watch.confirmWatchUnwatch();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.watch.WatchPageObject in project selenium-tests by Wikia.
the class MessageWallNotificationsFollowersMessageTests method followerNotificationNewMessage_setup_1.
@Test(groups = { "MessageWallNotificationsFollowersMessageTests_001" })
public void followerNotificationNewMessage_setup_1() {
WikiBasePageObject base = new WikiBasePageObject();
base.loginAs(credentials.userName5, credentials.password5, wikiURL);
MessageWall wall = new MessageWall(driver).open(credentials.userName6);
WatchPageObject watch = wall.unfollowCurrentUrl();
watch.confirmWatchUnwatch();
wall.follow();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.watch.WatchPageObject in project selenium-tests by Wikia.
the class FollowBlogTests method FollowBlog_001_setup.
@Test(groups = "FollowBlog")
@Execute(asUser = User.USER)
public void FollowBlog_001_setup() {
WikiBasePageObject base = new WikiBasePageObject();
UserProfilePageObject userProfile = base.openProfilePage(credentials.userName, wikiURL);
userProfile.clickOnBlogTab();
BlogPageObject blogPage = userProfile.openFirstPost();
blogTitle = blogPage.getBlogName();
WatchPageObject watch = blogPage.unfollowBlogPage();
watch.confirmWatchUnwatch();
blogPage.verifyPageUnfollowed();
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.watch.WatchPageObject in project selenium-tests by Wikia.
the class FollowPhotosTests method FollowPhoto_001_setup.
@Test(groups = "FollowPhoto")
@Execute(asUser = User.USER)
public void FollowPhoto_001_setup() {
WikiBasePageObject base = new WikiBasePageObject();
SpecialNewFilesPage special = base.openSpecialNewFiles(wikiURL);
imageName = special.getRandomImageName();
WatchPageObject watch = special.unfollowImage(wikiURL, imageName);
watch.confirmWatchUnwatch();
special.verifyPageUnfollowed();
}
Aggregations