use of com.wikia.webdriver.elements.mercury.pages.discussions.DiscussionsPage in project selenium-tests by Wikia.
the class GuidelinesTests method discussionsModeratorOnDesktopCanClickBackToDiscussions.
@Test(groups = "discussions-discussionsModeratorOnDesktopCanClickBackToDiscussions")
@Execute(asUser = User.DISCUSSIONS_MODERATOR)
@InBrowser(browser = Browser.FIREFOX, browserSize = DESKTOP_RESOLUTION)
public void discussionsModeratorOnDesktopCanClickBackToDiscussions() {
DiscussionsPage mainDiscussionPage = new GuidelinesPage().open().clickBackToDiscussions();
Assertion.assertTrue(mainDiscussionPage.isWikiaHomeLinkDisplayed());
}
use of com.wikia.webdriver.elements.mercury.pages.discussions.DiscussionsPage in project selenium-tests by Wikia.
the class GuidelinesTests method regularUserOnDesktopCanClickBackToDiscussions.
@Test(groups = "discussions-regularUserOnDesktopCanClickBackToDiscussions")
@Execute(asUser = User.USER_6)
@InBrowser(browser = Browser.FIREFOX, browserSize = DESKTOP_RESOLUTION)
public void regularUserOnDesktopCanClickBackToDiscussions() {
DiscussionsPage mainDiscussionPage = new GuidelinesPage().open().clickBackToDiscussions();
Assertion.assertTrue(mainDiscussionPage.isWikiaHomeLinkDisplayed());
}
use of com.wikia.webdriver.elements.mercury.pages.discussions.DiscussionsPage in project selenium-tests by Wikia.
the class GuidelinesTests method staffOnDesktopCanClickBackToDiscussions.
@Test(groups = "discussions-staffOnDesktopCanClickBackToDiscussions")
@Execute(asUser = User.STAFF)
@InBrowser(browser = Browser.FIREFOX, browserSize = DESKTOP_RESOLUTION)
public void staffOnDesktopCanClickBackToDiscussions() {
DiscussionsPage mainDiscussionPage = new GuidelinesPage().open().clickBackToDiscussions();
Assertion.assertTrue(mainDiscussionPage.isWikiaHomeLinkDisplayed());
}
use of com.wikia.webdriver.elements.mercury.pages.discussions.DiscussionsPage in project selenium-tests by Wikia.
the class GuidelinesTests method anonUserOnDesktopCanClickBackToDiscussions.
/**
* ANONS ON DESKTOP SECTION
*/
@Test(groups = "discussions-anonUserOnDesktopCanClickBackToDiscussions")
@Execute(asUser = User.ANONYMOUS)
@InBrowser(browser = Browser.FIREFOX, browserSize = DESKTOP_RESOLUTION)
public void anonUserOnDesktopCanClickBackToDiscussions() {
DiscussionsPage mainDiscussionPage = new GuidelinesPage().open().clickBackToDiscussions();
Assertion.assertTrue(mainDiscussionPage.isWikiaHomeLinkDisplayed());
}
Aggregations