expectNotVisible method

void expectNotVisible(
  1. String id
)

Implementation

void expectNotVisible(String id) {
  final finder = finderForId(id);
  if (finder.evaluate().isNotEmpty) {
    throw EnsembleTestFailure(
      'Expected widget with id "$id" to not be visible.',
    );
  }
}