defineSmokeTest method
void
defineSmokeTest({
- AFScreenTestID id = AFUIScreenTestID.smoke,
- required AFScreenTestBodyExecuteDelegate body,
- String? description,
- 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);
}));
}