Future<void> longPressWidget(String id) async { final finder = assertions.finderForId(id); _expectSingleWidget(finder, id, 'longPress'); await tester.longPress(finder); await _settleAfterAction(); }