Why is my test throwing WidgetNotFoundException when a nested dialog is closed?
When a button is clicked within the first dialog it opens another dialog. After closing the second dialog, the test stops and throws a WidgetNotFoundException. This happens because the first dialog does not get the focus back. Make sure when the second dialog is closed the focus goes back to the first dialog.
Related Questions
- A Mallard/Canada Goose family has nested in a closed of courtyard and Im concerned that they will be trapped once the babies hatch. What should I do?
- Why must schools test with exterior doors and windows closed except for normal entry and exit?
- Why is my test throwing WidgetNotFoundException when a nested dialog is closed?