use of com.wikia.webdriver.pageobjectsfactory.pageobject.widget.ApesterWidgetPageObject in project selenium-tests by Wikia.
the class AllTagsTests method beforeMethod.
@BeforeMethod(alwaysRun = true)
public void beforeMethod() {
widgets = new ArrayList<>();
widgets.add(new PollsnackWidgetPageObject(driver));
widgets.add(new SoundCloudWidgetPageObject(driver));
widgets.add(new SpotifyWidgetPageObject(driver));
widgets.add(new TwitterWidgetPageObject(driver));
widgets.add(new VKWidgetPageObject(driver));
widgets.add(new WeiboWidgetPageObject(driver));
widgets.add(new GoogleFormWidgetPageObject(driver));
widgets.add(new PolldaddyWidgetPageObject(driver));
widgets.add(new PlaybuzzWidgetPageObject(driver));
widgets.add(new ApesterWidgetPageObject(driver));
String content = ">>> " + DateTime.now().getMillis() + " <<<";
for (WidgetPageObject widget : widgets) {
content += widget.getSingleTag();
}
ArticleContent articleContent = new ArticleContent();
articleContent.clear(ARTICLE_NAME);
articleContent.push(content, ARTICLE_NAME);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.widget.ApesterWidgetPageObject in project selenium-tests by Wikia.
the class ApesterTests method init.
private void init() {
this.topBar = new TopBar(driver);
this.navigate = new Navigate();
this.widget = new ApesterWidgetPageObject(driver);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.widget.ApesterWidgetPageObject in project selenium-tests by Wikia.
the class AllTagsTests method prepareTest.
@BeforeMethod(alwaysRun = true)
public void prepareTest() {
driver.manage().timeouts().pageLoadTimeout(100, TimeUnit.SECONDS);
widgets = new ArrayList<>();
widgets.add(new PollsnackWidgetPageObject(driver));
widgets.add(new SoundCloudWidgetPageObject(driver));
widgets.add(new SpotifyWidgetPageObject(driver));
widgets.add(new TwitterWidgetPageObject(driver));
widgets.add(new VKWidgetPageObject(driver));
widgets.add(new WeiboWidgetPageObject(driver));
widgets.add(new GoogleFormWidgetPageObject(driver));
widgets.add(new PolldaddyWidgetPageObject(driver));
widgets.add(new PlaybuzzWidgetPageObject(driver));
widgets.add(new ApesterWidgetPageObject(driver));
String content = "";
for (WidgetPageObject widget : widgets) {
content += widget.getSingleTag();
}
ArticleContent articleContent = new ArticleContent();
articleContent.clear(ARTICLE_NAME);
articleContent.push(content, ARTICLE_NAME);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.widget.ApesterWidgetPageObject in project selenium-tests by Wikia.
the class ApesterTests method init.
private void init() {
this.widget = new ApesterWidgetPageObject(driver);
this.navigate = new Navigate();
}
Aggregations