njnu-seafish commented on PR #18737: URL: https://github.com/apache/dolphinscheduler/pull/18737#issuecomment-6411717299
> Please add e2e test case. Hi @ruanwenjun, thanks for the review. I've added an e2e test case in d0d81aad5a: - PostgresDataSourceEditE2ETest runs against a real PostgreSQL datasource. It creates a datasource, then opens the edit form without changing the password and runs the connection test from the form — this succeeds only if the backend tests the connectivity against the stored password instead of the echoed mask (******). - After saving, the form is opened once more and the connection test is run again, which fails if the update had persisted the mask as the real password. The connection test inside the edit form used to connect with the echoed mask directly, that's fixed in 60a573c161 the same way as the update path. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
