expectNotVisible method

void expectNotVisible(
  1. String id
)

Implementation

void expectNotVisible(String id) {
  return RunnerBenchmark.sync('assertion', 'expectNotVisible', () {
    if (_hasVisiblePaintedElement(finderForId(id))) {
      throw EnsembleTestFailure(
        'Expected widget with id "$id" to not be visible.',
      );
    }
  });
}