ushahidi / platform

Ushahidi Platform API version 3+
http://ushahidi.com
Other
671 stars 506 forks source link

[Outreachy-WhatsApp] Develop a basic test case to ensure the functionality and reliability of the proposed features. #4848

Open dukedanny opened 5 months ago

dukedanny commented 5 months ago

This pre-task involves developing a basic test case to ensure the functionality and reliability of one of your proposed functionalities in the WhatsApp integration:

The initial test case you're developing focuses on the proposed features and their functionalities. Since you're familiarizing yourself with the project at this stage, a black-box testing approach using available documentation and discussions is perfectly suitable.

Deliverables:

Due Date:

26th March 2024

ademolaomosanya commented 5 months ago

Hello @dukedanny
I just completed the pre task for one of the proposed feature for whatsapp integration of ushahidi which is: USSD Engine with botman for whatsapp integration. using cypress. Though the ussd-engine repo is outdated and i was unable to test directly, since it is a black-box test i used mock data. Here is the link to the githubgist below: https://gist.github.com/ademolaomosanya/3d24f363d7147367bd0b48e44068d842

jatinder14 commented 5 months ago

Here is the "WhatsApp send message via Infobip" feature tested by using cypress framework. @dukedanny

Description -

This Cypress test case is designed to ensure the functionality of sending a WhatsApp message via the Infobip API. The test involves making a POST request to the Infobip API endpoint with a predefined payload containing message details. After sending the request, the test verifies that the response status code is 200 and checks for expected properties in the response body, such as the presence of messages and their status. The test aims to validate the reliability and correctness of the WhatsApp message sending feature integrated with the Infobip API.

Screenshot (98)

gist link - https://gist.github.com/jatinder14/2064e7756777ff5b96db041146fda431

and video recording for whole process is - https://drive.google.com/file/d/1vueeC3lkekqTuLe2AWy605XTD9BWIDsY/view?usp=sharing

Tanyadw commented 5 months ago

Hello @dukedanny

This is Tanya Dwivedi. I'm pleased to inform you that I have successfully completed pre-task 2, which involved testing various functionalities within the WhatsApp integration to ensure reliability and functionality. Using Cypress testing with JavaScript, I thoroughly tested different features via Infobip in the WhatsApp integration. This included testing sending images, text messages, locations, documents, and exploring other functionalities pertinent to our project.

In my submission, I've provided a detailed description of each test case, outlining both successes and failures, along with expected inputs, outputs, and behaviors in the README file. Each test case meticulously validates the proper functionality and reliability of these features, ensuring smooth communication between users via WhatsApp. You can find my task submission on GitHub Gist here: https://gist.github.com/Tanyadw/3825506def8ba81a1f8cd76c1599efef I've included all related files and a screenshot of the results, accompanied by clear descriptions of the Scenarios.Your feedback to further enhance my work would be greatly appreciated.

I extend my gratitude to the Ushahidi team for granting me this opportunity to contribute meaningfully. I eagerly look forward to engaging in more tasks like this in the future!

shailpujan88 commented 5 months ago

Hello @dukedanny , I'm Shail Pujan.I have successfully completed the task of designing and implementing test cases for various functionalities of the WhatsApp integration within the Ushahidi platform. This includes:

Each test case ensures the proper functionality and reliability of these features, ensuring seamless communication between users via WhatsApp. Through meticulous testing and validation, I have verified the robustness of the integration as well. Here is my task submission github gist link: https://gist.github.com/shailpujan88/e16c1b4fdb64394c2407535ccd62bd41

All associated files, as well as the screenshot and video of the results, have been provided, along with detailed descriptions of the scenarios. Thank you to you and the Ushahidi team for this opportunity to contribute. I'm looking forward to more tasks like this.

image

and video recording for whole process is:https://drive.google.com/file/d/1tkgSXF_U0GS5tpBWcLE67iYn0z8Wv1-a/view?usp=sharing

crocmons commented 5 months ago

Hello @dukedanny, I'm Ilma Salsabil, I have completed this pre-task, and it successfully works. Here is my task submission github gist link - https://gist.github.com/crocmons/28df62126ad00e129b9636598e6cbb5c and the ss - Screenshot (683)

larrytamnjong commented 5 months ago

Hello @dukedanny , here is the link to my GitHub gist for this black box testing task: https://gist.github.com/larrytamnjong/4774179f4486ab7a624cc499d7c9b08c

Tamnjong Larry Tabeh

anushk4 commented 5 months ago

Hello @dukedanny I have completed the task 2. The GitHub link has been attached https://gist.github.com/anushk4/7c5bf1575944a1c7c3bd69d47b5a32d3

I have also attached the resources used, test case scenario and result, and the challenges I faced while implementing this, in the comments of the gist.

anjalichaturvedi commented 5 months ago

Hello @dukedanny, Completed and uploaded another pre-task with description commented out + both the screenshots attached. You can find it: https://gist.github.com/anjalichaturvedi/dd19eb4820406754e76b568b8c88e2c1

xadina02 commented 5 months ago

MOSONGO ADINA

Hello @dukedanny I have completed the task 2 and below is the link to the Github Gist https://gist.github.com/xadina02/d23c5aeb7fde894d03366f24970b01e0 All related files and the result screenshot are provided, equally with clear description of scenarios. Thank you and the Ushahidi team for the opportunity to contribute. I lam eager for more such tasks!

shalini1008 commented 5 months ago

Hello @dukedanny , here is the link to my GitHub gist for this black box testing task: link of gist: https://gist.github.com/shalini1008/b2a9eeb2f017c043639fb87671ad970a

azigabriel65 commented 5 months ago

hello, am Azi Gabriel, this is my test case https://gist.github.com/azigabriel65/6f99100a7262170dddc67c821887d32a

xfy0012 commented 5 months ago

hello @dukedanny here is the link to my github gist for this black box testing https://gist.github.com/xfy0012/94f4b9d3b1bbad0e1eb07f1626f4ad8a

Jlp06 commented 5 months ago

Hello @dukedanny. I'm Labanti Purty from India. Here is the link to my GitHub gist: https://gist.github.com/Jlp06/c73709ce1ee8c5327b08d1fd220e0f55 I have also attached the screenshots and video recordings of the testing.

haruharu1017 commented 5 months ago

hi @dukedanny, i am Anastasia Here is the link to my github gist: https://gist.github.com/haruharu1017/138c3044b963ca1205d92b4523640d95 I have already uploaded my description and test code. Below is my screenshot of tests.

Image

Image

Zortura commented 5 months ago

Hi @dukedanny this is my submission for this pre-task. Its a little late because I had a medical crisis and fortunately I'm better now. It definitely will be perfected with time but I'd like to just drop this first. Github gist link- https://gist.github.com/Zortura/92d31745ff5a01c8b531d2a2917a08e2 Cypress test Video Demonstration - https://drive.google.com/file/d/1GmCbgQ0m0jTDxZorLY6xdPw00GUkz-Db/view?usp=drive_link