-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
Description
Versions
- What is this plugin's version? latest
- What is Cypress version? latest
- What Netlify build image are you using? Ubuntu Xenial 16.04
- What is the Node version if you know it? 12.18.0
- What is the NPM version if you know it? 6.14.4
Describe the bug
When executing tests only static assets are being taken into account. Netlify functions are not provided. This means that all calls to ./functions fail. Locally I'm running netlify dev command to have functions ready.
Solution
Not sure on how to solve this. Perhaps cypress plugin could fire up a netlify server? Or I switch to testing the deployed site for now. But this is also not possible out of the box as baseUrl is set to localhost:8080.