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


##########
dolphinscheduler-e2e/dolphinscheduler-e2e-case/src/test/java/org/apache/dolphinscheduler/e2e/pages/security/TokenPage.java:
##########
@@ -161,4 +162,27 @@ public class TokenForm {
         private WebElement buttonCancel;
 
     }
+
+    private void setExpireTime(int daysAfter) {
+        try {
+            WebElement datePickerInput = 
driver.findElement(By.cssSelector(".n-date-picker input"));

Review Comment:
   > If you want to use css selectors, please use a more rigorous writing, 
which will lead to an flaky exception in getting elements.
   
   ok,use more accurate element positioning.



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