Skip to content
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

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

Closed
dukedanny opened this issue Mar 19, 2024 · 15 comments
Labels
Community Task Issues that the Ushahidi OSS community is encouraged to contribute to

Comments

@dukedanny
Copy link

dukedanny commented Mar 19, 2024

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.

  • Choose a specific feature from the project discussion (e.g., sending and receiving data via WhatsApp).

  • Design a test case scenario outlining the expected inputs, outputs, and behavior of the functionality.

  • Implement the test case using relevant tools and libraries (i.e., Ushahidi uses Cypress as our preferred testing framework).

  • Execute the test case and document the results, including any successes or failures.

Deliverables:

  • Provide a clear description of the chosen functionality and the test case scenario [Comment out this description in your code submission]

  • Share the implemented test case code using GitHub Gists and paste the link as a comment to this issue.

Due Date:

26th March 2024

@dukedanny dukedanny added Community Task Issues that the Ushahidi OSS community is encouraged to contribute to Outreachy: WhatsApp 2024 Outreachy May 2024 labels Mar 19, 2024
@ademolaomosanya
Copy link

ademolaomosanya commented Mar 19, 2024

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

jatinder14 commented Mar 19, 2024

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

Tanyadw commented Mar 19, 2024

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

shailpujan88 commented Mar 20, 2024

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:

  • Sending template messages
  • Sending text messages
  • Sending document messages
  • Sending video messages
  • Sending contact information
  • Sending image messages
  • Sending location messages

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

crocmons commented Mar 22, 2024

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

larrytamnjong commented Mar 22, 2024

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

anushk4 commented Mar 23, 2024

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

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

xadina02 commented Mar 25, 2024

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

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

azigabriel65 commented Mar 25, 2024

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

@xfy0012
Copy link

xfy0012 commented Mar 26, 2024

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

@Jlp06
Copy link

Jlp06 commented Mar 26, 2024

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

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

Zortura commented Apr 2, 2024

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

@linear linear bot removed the Outreachy: WhatsApp 2024 Outreachy May 2024 label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Task Issues that the Ushahidi OSS community is encouraged to contribute to
Development

No branches or pull requests