defineSmokeTest method

void defineSmokeTest({
  1. AFScreenTestID id = AFUIScreenTestID.smoke,
  2. required AFScreenTestBodyExecuteDelegate body,
  3. String? description,
  4. String? disabled,
})

Implementation

void defineSmokeTest({ AFScreenTestID id = AFUIScreenTestID.smoke, required AFScreenTestBodyExecuteDelegate body, String? description, String? disabled }) async {
  // in the first section, always add a scaffold widget collector.

  addSmokeTest(AFScreenTestBody(id: id, description: description, disabled: disabled, params: [], bodyReusable: null, body: (sse, params) async {
    await body(sse);
  }));
}