expectNoText method

void expectNoText(
  1. String text
)

Implementation

void expectNoText(String text) {
  if (find.text(text).evaluate().isNotEmpty) {
    throw EnsembleTestFailure('Expected text "$text" to not be visible.');
  }
}