Search in sources :

Example 1 with SpecialMultipleUploadPageObject

use of com.wikia.webdriver.pageobjectsfactory.pageobject.special.SpecialMultipleUploadPageObject in project selenium-tests by Wikia.

the class ImageServingTests method ImageServing_003_SpecialMultipleUploadTest.

@Test(groups = { "ImageServing_003", "ImageServing" })
@Execute(asUser = User.USER)
public void ImageServing_003_SpecialMultipleUploadTest() {
    WikiBasePageObject base = new WikiBasePageObject();
    SpecialMultipleUploadPageObject wikiSpecialMU = base.openSpecialMultipleUpload(wikiURL);
    wikiSpecialMU.selectFilesToUpload(PageContent.LIST_OF_FILES);
    wikiSpecialMU.typeInMultiUploadSummary(PageContent.CAPTION);
    wikiSpecialMU.checkIgnoreAnyWarnings();
    wikiSpecialMU.clickUploadButton();
    wikiSpecialMU.verifySuccessfulUpload(PageContent.LIST_OF_FILES);
}
Also used : SpecialMultipleUploadPageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.special.SpecialMultipleUploadPageObject) WikiBasePageObject(com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject) Execute(com.wikia.webdriver.common.core.annotations.Execute) Test(org.testng.annotations.Test)

Aggregations

Execute (com.wikia.webdriver.common.core.annotations.Execute)1 WikiBasePageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.WikiBasePageObject)1 SpecialMultipleUploadPageObject (com.wikia.webdriver.pageobjectsfactory.pageobject.special.SpecialMultipleUploadPageObject)1 Test (org.testng.annotations.Test)1