use of com.wikia.webdriver.elements.mercury.pages.discussions.GuidelinesPage in project selenium-tests by Wikia.
the class GuidelinesTests method regularUserOnDesktopCanSeeGuidelinesHeroUnit.
@Test(groups = "discussions-regularUserOnDesktopCanSeeGuidelinesHeroUnit")
@Execute(asUser = User.USER_6)
@InBrowser(browser = Browser.FIREFOX, browserSize = DESKTOP_RESOLUTION)
public void regularUserOnDesktopCanSeeGuidelinesHeroUnit() {
GuidelinesPage guidelinesPage = new GuidelinesPage();
guidelinesPage.open();
Assertion.assertTrue(guidelinesPage.isGuidelinesHeroUnitDisplayed());
}
use of com.wikia.webdriver.elements.mercury.pages.discussions.GuidelinesPage in project selenium-tests by Wikia.
the class GuidelinesTests method discussionsModeratorOnDesktopCanClickEditGuidelines.
@Test(groups = "discussions-discussionsModeratorOnDesktopCanSeeEditGuidelines")
@Execute(asUser = User.DISCUSSIONS_MODERATOR)
@InBrowser(browser = Browser.FIREFOX, browserSize = DESKTOP_RESOLUTION)
public void discussionsModeratorOnDesktopCanClickEditGuidelines() {
GuidelinesPage guidelinesPage = new GuidelinesPage();
guidelinesPage.open();
Assertion.assertTrue(guidelinesPage.isEditButtonDisplayed());
}
use of com.wikia.webdriver.elements.mercury.pages.discussions.GuidelinesPage 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.GuidelinesPage 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.GuidelinesPage in project selenium-tests by Wikia.
the class GuidelinesTests method staffOnDesktopCanSeeGuidelinesHeroUnit.
@Test(groups = "discussions-staffOnDesktopCanSeeGuidelinesHeroUnit")
@Execute(asUser = User.STAFF)
@InBrowser(browser = Browser.FIREFOX, browserSize = DESKTOP_RESOLUTION)
public void staffOnDesktopCanSeeGuidelinesHeroUnit() {
GuidelinesPage guidelinesPage = new GuidelinesPage();
guidelinesPage.open();
Assertion.assertTrue(guidelinesPage.isGuidelinesHeroUnitDisplayed());
}
Aggregations