Example: https://github.com/eea/clms-frontend
- In your local package.json:
- Update localhost:55001/plone -> localhost:8080/Plone
- then:
$ yarn
$ yarn cypress:start-backend
$ yarn cypress:start-frontend
Make sure that Plone is running: http://localhost:8080/Make sure that Volto is running (or maybe just ignore this?!):
$ yarn cypress:run
The best way is:
$ yarn cypress:open
Solve system limits error:
ENOSPC: System limit for number of file watchers reached, watch '/home/youruser/foobar'
Error: ENOSPC: System limit for number of file watchers reached, watch '/home/youruser/foobar'
at FSWatcher.<computed> (node:internal/fs/watchers:244:19)
at Object.watch (node:fs:2264:34)
at H (<embedded>:2344:71477)
at Q (<embedded>:2344:71748)
at s.exports._watchWithNodeFs (<embedded>:2344:73710)
at s.exports._handleDir (<embedded>:2344:77068)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
at async s.exports._addToNodeFs (<embedded>:2344:78018)
https://github.com/guard/listen/blob/master/README.md#the-technical-details
$ sudo sh -c "echo fs.inotify.max_user_watches=524288 >> /etc/sysctl.conf"
$ sudo sysctl -p
Category: Docs