vernig / twilio-flex-automated-testing

Code companion for Twilio blogpost: https://www.twilio.com/blog/flex-plugins-automated-tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automated tests for your Flex plugins using Jest and Puppeteer

This is the code companion for this blogpost. You can find there a detailed descriptions of this repo.

Setup

Make sure you have Node.js as well as npm installed.

Afterwards, install the dependencies by running npm install:

$ npm install

Test

To run the sample tests:

  1. Start a local development istance of Flex:
$ twilio flex:plugins:start
  1. Execute the test script:
$ twilio flex:plugins:test

About

Code companion for Twilio blogpost: https://www.twilio.com/blog/flex-plugins-automated-tests


Languages

Language:JavaScript 100.0%