SnowMoon-Dev opened a new issue, #10778:
URL: https://github.com/apache/dolphinscheduler/issues/10778

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   Although the current UI test has completed part of the interface test, the 
functions covered are not comprehensive, and the use of the page object model 
is unreasonable. API testing is built using the page object pattern, which is 
not reasonable in itself. API testing should focus on API rather than page 
elements. Based on the above problems, I have made the following improvements:
   1. The page objects and browser objects are encapsulated twice, and the 
common methods of page objects and browser objects are integrated, which makes 
the development of page objects faster and easier to use, and increases the 
maintainability of UI testing.
   2. Modules are divided for API testing related test classes, and use case 
writers are more focused on the writing of API use cases
   3. Added scenario tests, not limited to single interface and API tests 
(samples to be completed)
   4. API + UI test double verification, enhance the effectiveness of the test, 
closer to the real user scenario
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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