Flex Plugin E2E Tests framework
npm install @twilio/flex-plugin-e2e-tests!npm
!npm

To be filled
Make sure that chromedriver is on your path and matches your Chrome version
To create a new test, use:
- npm run create: creates a new test
- npm run create 5: creates a test at step5 and then auto-increments all existing steps (i.e. step 5 -> 6, step 6-> 7, etc)
To run locally:
``bashcd into this package
cd packages/flex-plugin-e2e-tests
npm run build
You can also override certain defaults by setting these additional environment variables:
-
FLEX_UI_VERSION - the flexUIVersion to use. Defaults to ^1 otherwise
- PLUGIN_BASE_URL - the baseUrl. Defaults to http://localhost:3000 otherwise
- TWILIO_REGION - the twilio region to useYou can also run a specific step by using (don't forget the environment variables):
`bash
... npm start -- --step 2
`To run multiple steps:
`bash
... npm start -- --step 2 --step 3 --step 10
``Thank you to all the lovely contributors to this project. Please check the main repository to see all contributors.