New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the README file with the new demo api version #428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @renato04, thank you very much for your contribution!
Just one more thing, can we have the screenshots also updated to match the new demo-api version?
They are on README.md from line 77 to 93:
<p align="center">
<img
src="https://raw.githubusercontent.com/scanapi/scanapi/master/images/report-print-closed.png"
width="700",
alt="An overview screenshot of the report."
>
<img
src="https://raw.githubusercontent.com/scanapi/scanapi/master/images/report-print-request.png"
width="700"
alt="A screenshot of the report showing the request details."
>
<img
src="https://raw.githubusercontent.com/scanapi/scanapi/master/images/report-print-response.png"
width="700",
alt="A screenshot of the report showing the response and test details"
>
</p>
The images are stored here: https://github.com/scanapi/scanapi/tree/main/images
Thank you once again!
@camilamaia It's done! |
Sorry, I was not clear previously. I mean, the screenshots show ScanAPI running for the previous example: What needs to be done is:
endpoints:
- name: scanapi-demo # The API's name of your API
path: http://demo.scanapi.dev/api/ # The API's base url
requests:
- name: list_all_devs # The name of the first request
path: devs/ # The path of the first request
method: get # The HTTP method of the first request
tests:
- name: status_code_is_200 # The name of the first test for this request
assert: ${{ response.status_code == 200 }} # The assertion Take 3 screenshots and replace the old ones with the new ones in the images folder: https://github.com/scanapi/scanapi/tree/main/images
Does it make sense? Sorry for the miscommunication. |
@camilamaia no problem. |
@camilamaia It's done. |
@renato04 just one minor change can you squash the commits into one and add a structured commit message associated with it. You can follow the below commit template:
Something like 👇🏾
Feel free to let me know if you need any help with any of the steps. |
Thank you @Pradhvan for the tip! |
Hi @renato04 👋🏾
Yes, this would also be really helpful in improving standardising the GitHub workflow. Let me know if you need any help. |
Hi @Pradhvan! |
The final commit looks good. You just need to squash all 4 commits into 1 commit now. |
* changing the image files for the new api * updating the README images * Update the README file images with the new demo api version Closes scanapi#368
@Pradhvan what about now? 😆 |
Description
Update the sample yaml file
Motivation behind this PR?
What type of change is this?
Checklist
Issue
Closes #368