Skip to content

e2e Fix and Bump up#303

Open
vikasrathee-cs wants to merge 1 commit into
cdapio:release/6.10from
cloudsufi:windowsizefixAndBumpup
Open

e2e Fix and Bump up#303
vikasrathee-cs wants to merge 1 commit into
cdapio:release/6.10from
cloudsufi:windowsizefixAndBumpup

Conversation

@vikasrathee-cs
Copy link
Copy Markdown

No description provided.

@vanshikaagupta22 vanshikaagupta22 force-pushed the windowsizefixAndBumpup branch from 7ed5e6d to 51199f0 Compare May 7, 2026 13:37
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the project version to 0.3.3-SNAPSHOT, bumps the selenium-chrome-driver to 4.13.0, and adjusts several timeout constants and Selenium configurations, including the use of the new headless mode. Feedback includes concerns regarding a version mismatch between Selenium dependencies that could lead to runtime errors, a logical inconsistency where the small timeout value now exceeds the medium timeout, and the potential for excessively high timeout settings to mask performance regressions.

Comment thread pom.xml
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>4.11.0</version>
<version>4.13.0</version>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

There is a significant version mismatch between selenium-chrome-driver (4.13.0) and selenium-java (4.0.0-alpha-1). Mixing such disparate versions of Selenium components is highly likely to cause runtime errors such as NoSuchMethodError due to breaking changes in the Selenium API. It is recommended to synchronize all Selenium dependencies to the same version.

* 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;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The SMALL_TIMEOUT_SECONDS value (20) is now greater than the MEDIUM_TIMEOUT_SECONDS value (10), which creates a logical inconsistency in the naming of these constants. Please ensure that MEDIUM_TIMEOUT_SECONDS is also updated to a value greater than 20 to maintain a consistent hierarchy.

Comment on lines +79 to +83
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;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Increasing the DEFAULT_TIMEOUT_SECONDS and PAGE_LOAD_TIMEOUT_SECONDS to 300 seconds (5 minutes) is quite high for E2E tests. While this may mitigate flakiness in slow environments, it can also lead to much longer build times when tests fail and may mask performance regressions. Consider if a more moderate value (e.g., 60-120 seconds) would be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants