xingchun-chen opened a new issue #2995:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2995


   follow the root issue: #1460
   e2e use framework: java+selenium+testng+maven
   In order to reduce the maintenance cost in the later period, e2e adopts the 
design mode of POM, as shown below:
   
![image](https://user-images.githubusercontent.com/55787491/84747062-63832000-afe9-11ea-8eef-88126da21b3e.png)
   1. Add test data under the data module
   2. Add element positioning under the locator module
   3. Add page operation method under the page module
   4. Add test cases under testcase module, testcase must start with test
   5. New test cases need to be added to testng.xml
   6. The common method of element operation in common/BrowserCommon
   
   note:
   1. Local run needs to modify LOGIN_URL, driver.chromeDriver (local browser 
drive address) in config.properties
   2. Start the local browser to run the testcase, you can comment out 
chromeOptions.addArguments("--headless") in base/BaseDriver
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to