Created
February 23, 2012 12:19
-
-
Save lfryc/1892612 to your computer and use it in GitHub Desktop.
Arquillian/GWT client API snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RunWith(Arquillian.class) | |
public void TestCase { | |
@Deployment | |
... | |
@Drone | |
WebDriver driver; | |
@Test @RunAsClient | |
public void use_Selenium_and_GWT_dev_mode_to_test_WebStorage() { | |
driver.click(...); | |
assertTrue(0, getWebStorageEntries()); | |
} | |
@GWTClient | |
public List<WebStorageEntry> getWebStorageEntries() { | |
WebStorage.xyz(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment