Test suite issues

Test suite issues

Sam De Maeyer
Principal Engineer
Customer domain

Neerly 6 years at Smart 😱

  • Flaky tests
  • Console errors
  • Performance issues
  • Memory leaks
  • Long-running tests
  • ...

Test suite issues

Test suite issues

Flaky tests

Duplicated Loading states

Test suite issues

Console errors​​​​​​​

Test suite issues

Memory leaks

Solutions

  • Upgrade typescript, jest (--workerIdleMemoryLimit)
  • Jest caching
  • Splitting out tests

Test suite issues

Long-running tests

Split

  • Bright: ~10m 17s
  • Web: ~9m 17s

Test suite issues

Future plans

  • Move all page components to playwright
  • Upgrade typescript to v5

Test suite issues

Questions?

Test suite issues

Thanks

Big shoutout to everybody involved!

Especially Masha who has deep-dived into some

of these issues far outside of working hours.

deck

By Sam De Maeyer

deck

  • 82