From 51ed732ae85aba74d0e8dd2be1198eb4ceae365c Mon Sep 17 00:00:00 2001 From: T-Midnight Date: Fri, 7 Jun 2019 20:54:38 +0400 Subject: [PATCH] #104 fix web element in integration test --- src/test/java/grant/GrantPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/grant/GrantPage.java b/src/test/java/grant/GrantPage.java index fe13956..75fbf8a 100644 --- a/src/test/java/grant/GrantPage.java +++ b/src/test/java/grant/GrantPage.java @@ -14,7 +14,7 @@ public class GrantPage extends PageObject { } public String getId() { - return driver.findElement(By.id("id")).getAttribute("value"); + return driver.findElement(By.id("grantId")).getAttribute("value"); } public void setTitle(String name) {