Skip to content

Commit

Permalink
rework
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipinofficial11 committed Aug 28, 2023
1 parent cb3c7e2 commit 36bc9cf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/io/cdap/e2e/pages/actions/CdfSignInActions.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
import io.cdap.e2e.utils.SeleniumHelper;
import io.cdap.e2e.utils.WaitHelper;
import java.io.IOException;
import static io.cdap.e2e.utils.ConstantsUtil.CDFPASSWORD;
import static io.cdap.e2e.utils.ConstantsUtil.CDFUSERNAME;



/**
Expand All @@ -35,9 +34,9 @@ public class CdfSignInActions {
}

public static void login() throws IOException {
ElementHelper.sendKeys(cdfSignInLocator.cdfUsername, SeleniumHelper.readParameters(CDFUSERNAME));
ElementHelper.sendKeys(cdfSignInLocator.cdfUsername, SeleniumHelper.readParameters(ConstantsUtil.CDFUSERNAME));
ElementHelper.clickOnElement(cdfSignInLocator.nextButton);
ElementHelper.sendKeys(cdfSignInLocator.cdfPassword, SeleniumHelper.readParameters(CDFPASSWORD));
ElementHelper.sendKeys(cdfSignInLocator.cdfPassword, SeleniumHelper.readParameters(ConstantsUtil.CDFPASSWORD));
ElementHelper.clickOnElement(cdfSignInLocator.nextButton);

// Adding optional operations here.
Expand Down

0 comments on commit 36bc9cf

Please sign in to comment.