expectNotVisited method
Implementation
void expectNotVisited(String screenName) {
final flow = YamlTestSession.navigationFlow.flow;
final visited = flow.contains(screenName);
if (visited) {
throw EnsembleTestFailure(
'Expected screen "$screenName" not to be visited.',
);
}
}