Experiment in setting up an e2e test runnger faas function with cypress. Experiment ended in failure.

Update: Published and added link to code

Why

I wanted to be able to create an e2e test runner on demand. Goals were to have it kick of lots of instance at once that could double up as simple load testing as well as regular tests.

Result

Turned out cypress stores binary in a cache folder outside of node_modules and when you include the file it goes over the Lambda allowed size limit and makes this impossible but I didn’t realise until I wrote a mostly functional test setup.

Where to

I may revisit this later:

  • If the size limits on lambdas are relaxed
  • Or I use a slightly different tech stack that doesn’t hit the size limit
  • Or I find a way to reduce the packaged Lambda size
bogdandrema at gmail dot com
Terms and conditions reserved