##Toast Notifications
{
"title" : "The title",
"alert" :"HELLO!",
"duration" : "short|long",
"launch" : {
"type": "toast",
@Override | |
public boolean canEnhance(InstanceOrCallableInstance instance, Class<?> droneType, Class<? extends Annotation> qualifier) { | |
if (RemoteWebDriver.class == droneType || ReusableRemoteWebDriver.class == droneType) { | |
return true; | |
} | |
Class<?> realInstanceClass = instance.asInstance(droneType).getClass(); | |
if (RemoteWebDriver.class == realInstanceClass || ReusableRemoteWebDriver.class == realInstanceClass) |
window.Graphene = window.Graphene || {}; | |
window.Graphene.Page = window.Graphene.Page || {}; | |
window.Graphene.Page.XHRHalter = (function() { | |
var STATE_CONSTRUCT = -3, | |
STATE_OPEN = -2, | |
STATE_SEND = -1, | |
STATE_UNITIALIZED = 0, |
curl -u 19614a6d-94a4-4788-a0bb-9d559f841b58:221610d0-4668-4379-9db7-29a086c98793 -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"deviceToken":"BSPA91bGDWDdl-xW3EmSs2bH7Qlo5AOfbCJtmyOukYxVHq8KKUqpPLBLUjettGYoN2nahBbAe3GgmxKPcZnqEIFFxHw3_brKOSmeXjZQuEVehSJTUdJuXUCmR3XweZ2MM_455fYMcvkUse1DIp1wjxnik2uHYSNl87wrJzLddoC7tPp-gch3eJAf","alias":"bob","categories":["lead"],"deviceType" : "iPhone", "operatingSystem" : "iOS", "osVersion" : "6.1.2"}' http://localhost:8080/ag-push/rest/registry/device |
##Toast Notifications
{
"title" : "The title",
"alert" :"HELLO!",
"duration" : "short|long",
"launch" : {
"type": "toast",
<?xml version="1.0" encoding="UTF-8"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.arquillian.example</groupId> | |
<artifactId>arquillian-tutorial</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<dependencyManagement> |
public class LoginComponent { | |
@Root | |
private WebElement driver; | |
@FindBy(id="loginForm:username") | |
private WebElement usernameInput; | |
@FindBy(id="loginForm:password") | |
private WebElement passwordInput; |
class TestHandler { | |
static void runQUnitMethod(WebDriver browser, String className, String methodName) { | |
String url = ...; // compose URL | |
browser.get("..."); | |
// wait and read results | |
} | |
} |
@Travelling | |
SomeObject obj; | |
@Test | |
public void should() { | |
Warp.execute(new ClientAction() { | |
public void action() { | |
page.doAction(); | |
} | |
}).verify(new ServerAssertion() { |
@Test | |
public void table_sort() throws InterruptedException { | |
// given | |
browser.get(contextPath.toExternalForm() + "sort.jsf"); | |
WebElement cell = browser.findElements(By.cssSelector(".rf-edt-c-column2 .rf-edt-c-cnt")).get(0); | |
Assert.assertEquals("9", cell.getText()); | |
guardXhr(sortLink).click(); | |
waitAjax().until(new Predicate<WebDriver> () { |
(E) ManagerProcessing
(O) LoadableExtensionLoader.load
(E) ServiceLoader
(E) ManagerStarted
(O) ConfigurationRegistrar.loadConfiguration
(E) ArquillianDescriptor
(O) ProtocolRegistryCreator.createRegistry
(E) ProtocolRegistry
(O) ContainerRegistryCreator.createRegistry