Package com.google.sitebricks.acceptance

Source Code of com.google.sitebricks.acceptance.DynamicJsAcceptanceTest

package com.google.sitebricks.acceptance;

import com.google.sitebricks.acceptance.page.DynamicJsPage;
import com.google.sitebricks.acceptance.util.AcceptanceTest;
import org.openqa.selenium.WebDriver;
import org.testng.annotations.Test;

/**
* @author Dhanji R. Prasanna (dhanji@gmail.com)
*/
@Test(suiteName = AcceptanceTest.SUITE)
public class DynamicJsAcceptanceTest {

    public void shouldRenderDynamicTextFromJsTemplate() {
        WebDriver driver = AcceptanceTest.createWebDriver();
        DynamicJsPage page = DynamicJsPage.open(driver);

        assert page.hasDynamicText() : "Did not generate dynamic text from warp-widget";
    }
}
TOP

Related Classes of com.google.sitebricks.acceptance.DynamicJsAcceptanceTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.