Skip to content

glific/glific-wwebjs-tests

Repository files navigation

Glific WhatsApp Web Tests

This project containts tests for Glific flows using the https://github.com/wwebjs/whatsapp-web.js library. This is used to demonstrate the capabilities of the library and how it can be used to test Glific flows.

Design

The Whatsapp Web JS library allows us to interact with WhatsApp Web using a browser-like interface using puppeteer. So we can test Glific flows by sending messages to the WhatsApp Web and waiting for the responses.

Run the tests

$ node --version
v22.15.0
$ export WHATSAPP_NUMBER="+91 12345 67890"
$ yarn install
$ yarn test:integration

Future Improvements

  • Add more test scenarios
  • Integrate with S3 store for session management

About

Tests to verify Glific flows using whatsapp-web.js library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors