use of com.wikia.webdriver.pageobjectsfactory.pageobject.widget.VKWidgetPageObject 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.VKWidgetPageObject in project selenium-tests by Wikia.
the class VKTests method init.
private void init() {
this.topBar = new TopBar(driver);
this.navigation = new Navigation(driver);
this.navigate = new Navigate();
this.widget = new VKWidgetPageObject(driver);
}
use of com.wikia.webdriver.pageobjectsfactory.pageobject.widget.VKWidgetPageObject 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.VKWidgetPageObject in project selenium-tests by Wikia.
the class VKTests method init.
private void init() {
this.widget = new VKWidgetPageObject(driver);
this.navigate = new Navigate();
}
Aggregations