Testing
#22 - Register product stock items - Part 3
Remove flakiness from UI integration test
After finding out about the problem with the UI integration tests in video #21, let's dig deeper into the problem and resolve the root cause of the flaky tests:
- see tests running in isolation, but not in the whole suite
- debug tests to find the problem of incorrect entity comparison
- find out that multiple screens are still open from other tests
- reason about the shared state of "opened screens"
- fix by clearing up all screens at the beginning of each test case