diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index f6ee96f5a..0d3fcacf9 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -52,13 +52,13 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' }}
run: python3 e2e/src/main/scripts/run_e2e_test.py --framework yes
- name: Upload report
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
if: always()
with:
name: Cucumber report
path: ./plugin/target/cucumber-reports
- name: Upload debug files
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
if: always()
with:
name: Debug files
diff --git a/pom.xml b/pom.xml
index 999dad484..dbf388fa9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@ the License.-->
4.0.0
io.cdap.tests.e2e
cdap-e2e-framework
- 0.3.2
+ 0.3.3-SNAPSHOT
CDAP e2e Framework
Framework for CDAP e2e Tests
@@ -340,7 +340,7 @@ the License.-->
org.seleniumhq.selenium
selenium-chrome-driver
- 4.11.0
+ 4.13.0
diff --git a/src/main/java/io/cdap/e2e/utils/ConstantsUtil.java b/src/main/java/io/cdap/e2e/utils/ConstantsUtil.java
index 2f512497b..f2761b676 100644
--- a/src/main/java/io/cdap/e2e/utils/ConstantsUtil.java
+++ b/src/main/java/io/cdap/e2e/utils/ConstantsUtil.java
@@ -76,15 +76,15 @@ public class ConstantsUtil {
/**
* DEFAULT_TIMEOUT_SECONDS: To be used in external wait helpers defined in {@link WaitHelper}
*/
- public static final int DEFAULT_TIMEOUT_SECONDS = 180;
+ public static final int DEFAULT_TIMEOUT_SECONDS = 300;
/**
* PAGE_LOAD_TIMEOUT_SECONDS: To be used as Selenium driver's default page load timeout
*/
- public static final int PAGE_LOAD_TIMEOUT_SECONDS = 50;
+ public static final int PAGE_LOAD_TIMEOUT_SECONDS = 300;
/**
* SMALL_TIMEOUT_SECONDS: To be used as a small static wait (only if needed)
*/
- public static final int SMALL_TIMEOUT_SECONDS = 5;
+ public static final int SMALL_TIMEOUT_SECONDS = 20;
/**
* MEDIUM_TIMEOUT_SECONDS: To be used as a medium static wait (only if needed)
*/
diff --git a/src/main/java/io/cdap/e2e/utils/SeleniumDriver.java b/src/main/java/io/cdap/e2e/utils/SeleniumDriver.java
index ed0f6fec8..201aae458 100644
--- a/src/main/java/io/cdap/e2e/utils/SeleniumDriver.java
+++ b/src/main/java/io/cdap/e2e/utils/SeleniumDriver.java
@@ -49,7 +49,7 @@ public class SeleniumDriver {
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.addArguments("--no-sandbox");
chromeOptions.addArguments("--disable-setuid-sandbox");
- chromeOptions.addArguments("--headless");
+ chromeOptions.addArguments("--headless=new");
chromeOptions.addArguments("--window-size=" + SeleniumHelper.readParameters("windowSize"));
chromeOptions.addArguments("--disable-gpu");
chromeOptions.addArguments("--disable-dev-shm-usage");
@@ -62,7 +62,6 @@ public class SeleniumDriver {
chromePrefs.put("download.default_directory", downloadDir);
chromeOptions.setExperimentalOption("prefs", chromePrefs);
chromeDriver = new ChromeDriver(service, chromeOptions);
- chromeDriver.manage().window().maximize();
HttpCommandExecutor executor = (HttpCommandExecutor) chromeDriver.getCommandExecutor();
url = executor.getAddressOfRemoteServer();
waitDriver = new WebDriverWait(chromeDriver, ConstantsUtil.DEFAULT_TIMEOUT_SECONDS);
diff --git a/src/main/resources/connectionParameters.properties b/src/main/resources/connectionParameters.properties
index d70a475a3..a98f95264 100644
--- a/src/main/resources/connectionParameters.properties
+++ b/src/main/resources/connectionParameters.properties
@@ -1,5 +1,5 @@
# Selenium browser window size
-windowSize=1920x1040
+windowSize=1920,1040
# CDAP application url
cdfurl=http://localhost:11011/pipelines/ns/default/studio
# CDAP Wrangler connections page url