replaceTaskBody method

Future<void> replaceTaskBody(
  1. String newBody
)

Implementation

Future<void> replaceTaskBody(String newBody) async {
  // final taskBodyEdit = find.byKey(TaskBody.editKey);
  // await taskBodyEdit.should(findsOneWidget);
  // await taskBodyEdit.tap(); // switch into edit
  //
  // final taskBodyEditor = find.byKey(TaskBody.editorKey);
  //
  // await taskBodyEditor.should(findsOneWidget);
  // await taskBodyEditor.enterTextWithoutReplace(newBody);
  //
  // final saveBtn = find.byKey(TaskBody.saveEditKey);
  // await tester.ensureVisible(saveBtn);
  // await saveBtn.tap(); // switch off edit more
  //
  // // dialog closed
  // await saveBtn.should(findsNothing);
}