Support to view the YAML on the testSuite page
LinuxSuRen opened this issue · comments
Description:
Want to view the YAML content of a test suite. As you can see below, users can view the YAML on the page.
[optional Relevant Links:]
You might need to do the following things:
- Update the proto file, make it be able to return the YAML string
- Implement the logic
- Run command
make grpc grpc-gw
to generate codes - Update the relevant pages
hello, I would like to have a try!
Please let me know if you need any kinds of help.
I notice that this user's fork has not been updated for a long time and may not continue to complete this Issue.Would it be acceptable for me to proceed with this Issue?
Sure. Please go ahead.
Good job. You can put the YAML into Codemirror
.
other storage methods
I didn't understand your point. I think this feature allows users to view or download the YAML file. We don't need to store it in a database or somewhere. So you can submit your PR.
I didn't understand your point. I think this feature allows users to view or download the YAML file. We don't need to store it in a database or somewhere. So you can submit your PR.
The YAML being viewed originate from the current Suite and is stored in a local YAML file.
How did you get the YAML string? Convert it to the front-end with js or backend. I prefer getting it from the backend. The front-end only responsible for showing the content.
The test suite might be stored in a YAML file or a database, s3 .etc.
I get YAML from the backend, perhaps I should first submit a PR to see if it meets the requirements, and then continue to improve it.
Sure. Please do it.