Jurnal

keep calm and conquer the world

Menu
  • Home
  • Plimbări
  • Echipamente
  • Recomand
  • Contact
Menu

Cypress tests for Plone 6 + Volto (local)

Posted on 01.08.202429.08.2024 by GhitaB

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
Tags: docs, jurnal, plone, programare, solutions, Volto
Category: Docs

Post navigation

← Cetățile Ponorului din nou (D28.07.2024)
Creștinul și gemetele olimpiadelor →

Archives

  • May 2025 (4)
  • April 2025 (3)
  • March 2025 (19)
  • February 2025 (20)
  • January 2025 (33)
  • December 2024 (8)
  • November 2024 (4)
  • October 2024 (8)
  • September 2024 (4)
  • August 2024 (9)
  • July 2024 (21)
  • June 2024 (17)
  • May 2024 (13)
  • April 2024 (1)
  • March 2024 (7)
  • February 2024 (15)
  • January 2024 (24)
  • December 2023 (11)
  • November 2023 (53)
  • October 2023 (17)
  • September 2023 (20)
  • August 2023 (40)
  • July 2023 (39)
  • June 2023 (38)

Categories

  • 27 (4)
  • Acasă (64)
  • Amintiri (13)
  • Creștine (33)
  • Desen (8)
  • Design (1)
  • Docs (51)
  • Duldy & Țâcă (5)
  • Fotografie (42)
  • Gânduri (104)
  • Grădină (10)
  • Interesant (14)
  • Istorie (4)
  • Jurnal (163)
  • Limba română (8)
  • Mașină (2)
  • Muzică (46)
  • Personal (100)
  • Plimbări (24)
  • Programare (24)
  • Sport (12)
  • Știri (36)
  • Vegan (16)

Tags

2 mese pe zi (5) acasă (57) am auzit ceva nou (5) amintiri (8) am scris asta (7) biblice (11) Bihor (15) biserică (5) creștine (56) câine (12) câinele e prietenul omului (12) desen (8) docs (46) fotografie (45) funny (63) grădină (10) gânduri (122) interesant (8) istorie (7) jurnal (199) jurnal sportiv (11) Krita (5) limba română (10) momente (193) muzică (48) muzică preluată (28) natură (6) Padiș (11) personal (142) plimbare (22) plone (27) povești (6) programare (27) recomand (8) rețete vegane (10) România (29) Rusia (5) sketchbook (5) solutions (30) spam (5) sport (6) vegan (17) versuri (6) web development (15) știri (20)

RSS Feed Subscribe
© 2025 Jurnal | Powered by Minimalist Blog WordPress Theme