njnu-seafish commented on code in PR #18737:
URL: 
https://github.com/apache/dolphinscheduler/pull/18737#discussion_r4421658238


##########
.github/workflows/e2e.yml:
##########
@@ -132,6 +132,8 @@ jobs:
             class: 
org.apache.dolphinscheduler.e2e.cases.ClickhouseDataSourceE2ETest
           - name: PostgresDataSourceE2ETest
             class: 
org.apache.dolphinscheduler.e2e.cases.PostgresDataSourceE2ETest
+          - name: PostgresDataSourceEditE2ETest
+            class: 
org.apache.dolphinscheduler.e2e.cases.PostgresDataSourceEditE2ETest

Review Comment:
   > It's best to add verification of success and failure of modification in 
existing test cases.
   
   Hi @SbloodyS, thanks for the review.
   
   I folded the two edit checks into the existing PostgresDataSourceE2ETest 
(67739eab70) and removed the separate class and its matrix entry. Success is 
verified explicitly (the first edit's connection test only succeeds against the 
stored password), and the failure path is locked implicitly: the second edit 
re-opens the form and asserts the connection test still succeeds — if the 
previous save had persisted the mask, it would necessarily fail. The e2e UI 
exposes no failure signal (a failed connection is silent), so an explicit 
failure case isn't assertable; the two rounds cover it.



-- 
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]

Reply via email to