mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Fixes
This commit is contained in:
parent
d7565e7fe7
commit
eb77b572e7
@ -31,6 +31,7 @@ import org.wso2.iot.integration.ui.pages.graphs.GraphHandler;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* This class represents the Connected cup device view page.
|
||||
@ -162,6 +163,7 @@ public class ConnectedCupDeviceViewPage {
|
||||
*/
|
||||
public boolean checkGraphValues(String graphId, String value) {
|
||||
WebElement graph = handler.getGraphById(graphId);
|
||||
driverServer.manage().timeouts().implicitlyWait(UIUtils.webDriverTime, TimeUnit.SECONDS);
|
||||
if (graph != null) {
|
||||
return handler.isPathGetValues(graph, value);
|
||||
} else {
|
||||
|
||||
@ -71,7 +71,7 @@ public class Constants {
|
||||
|
||||
public static final int IOT_RESTART_THREAD_TIMEOUT = 30;
|
||||
|
||||
public static final String IOT_CONNECTED_CUP_LEVEl = "75";
|
||||
public static final String IOT_CONNECTED_CUP_LEVEl = "35";
|
||||
public static final String IOT_CONNECTED_CUP_TEMPERATURE = "53";
|
||||
|
||||
public static final String IOT_GRAPH_X_AXIS = "x";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user