onAfterScenario method
Run after a scenario has executed
Implementation
@override
Future<void> onAfterScenario(
TestConfiguration config, String scenario, Iterable<Tag> tags,
{bool passed = true}) async {
try {
currentWorld.semantics.dispose();
await disposeWidget();
currentWorld.dispose();
} catch (e) {
throwsAssertionError;
}
}