Skip to content

Fix E2E failure caused by Chrome password leak detection popup on invalid password scenario - #303

Merged
deepika-lalwani123 merged 1 commit into
data-integrations:developfrom
vishwasvaidya-cloudsufi:fix-e2e-password-leak-popup
Nov 20, 2026
Merged

deepika-lalwani123 merged 1 commit into
data-integrations:developfrom
vishwasvaidya-cloudsufi:fix-e2e-password-leak-popup

Conversation

@vishwasvaidya-cloudsufi

Copy link
Copy Markdown
Collaborator

Summary

Replaces the known-breached test string userTest in mySqlInvalidPassword and mssqlInvalidPassword with a unique non-breached string (InvalidPass_9x8Kv2mQ7zR4!) in E2E test properties.

Root Cause

  • In DesignTimeValidation.feature ("To verify validation message when user provides invalid password"), submitting password = userTest into <input type="password"> triggers Chrome 144+'s native Password Leak Detection ("Change your password") browser modal in --headless=new mode.
  • Because the native browser dialog steals keyboard focus and the same ChromeDriver session is reused across scenarios, ElementHelper.clearElementValue() / .sendKeys() keystrokes stop reaching page inputs—causing Scenario 5 and all subsequent scenarios (including RunTime.feature Snapshot + CDC tests) to fail.
  • mysql-delta-plugins failed on PR runs (TestRunnerRequired) because @Required is on the Feature: header, whereas sqlserver-delta-plugins skipped Scenario 5 on PRs and failed on full develop runs (TestRunner).

Changes

  • mysql-delta-plugins/src/e2e-test/resources/pluginParameters.properties: Update mySqlInvalidPassword to InvalidPass_9x8Kv2mQ7zR4! (keeping mySqlInvalidUser=userTest).
  • sqlserver-delta-plugins/src/e2e-test/resources/pluginParameters.properties: Update mssqlInvalidPassword to InvalidPass_9x8Kv2mQ7zR4! (keeping mssqlInvalidUser=userTest so Login failed for user 'userTest'. assertion remains unchanged).

… popup

Replace userTest in mySqlInvalidPassword and mssqlInvalidPassword with a unique non-breached string (InvalidPass_9x8Kv2mQ7zR4!) so headless Chrome 144+ does not trigger its native PasswordLeakDetection dialog and steal keyboard focus from subsequent Selenium steps.
@deepika-lalwani123
deepika-lalwani123 merged commit 8abd036 into data-integrations:develop Nov 20, 2026
13 checks passed
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