Skip to content

Commit 15aeb92

Browse files
authored
Merge pull request cdapio#290 from cloudsufi/pageLoadTimeoutFix
Fixing pageload timeout in cdf
2 parents a2fc83d + dc70e63 commit 15aeb92

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/cdap/e2e/pages/locators/CdfSignInLocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public By clickOnContinueButton() {
5151
}
5252

5353
public static By locatePluginNameInList(String pluginName, String pluginGroupName) {
54-
return By.xpath("//div[@data-cy='plugin-" + pluginGroupName + "-group']" +
54+
return By.xpath("//div[@data-testid='plugin-" + pluginGroupName + "-group']" +
5555
"//div[contains(@class, 'PluginNameContainer')][normalize-space(text()) = '" + pluginName + "' " +
5656
"or translate(normalize-space(text()),' ','') = '" + pluginName + "']");
5757
}

src/main/java/io/cdap/e2e/utils/ConstantsUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class ConstantsUtil {
8383
/**
8484
* DEFAULT_TIMEOUT_SECONDS: To be used in external wait helpers defined in {@link WaitHelper}
8585
*/
86-
public static final int DEFAULT_TIMEOUT_SECONDS = 180;
86+
public static final int DEFAULT_TIMEOUT_SECONDS = 300;
8787
/**
8888
* PAGE_LOAD_TIMEOUT_SECONDS: To be used as Selenium driver's default page load timeout
8989
*/

0 commit comments

Comments
 (0)