2

I have only 3 test cases on a spec file -but when i run this spec -cypress runner often crashes chrome browser. And i have to restart again. Is this is something with my code ? or is there any solutions for this

Thanks

user8710571
  • 405
  • 2
  • 12
  • 25

1 Answers1

2

Try setting the numTestsKeptInMemory: 5, the default value might be 50. This way was can reduce the memory consumption. Save the configuration, close and star the app again. Avoid writing lengthy tests and split the test file into multiple test/spec files.

soccerway
  • 10,371
  • 19
  • 67
  • 132