While migrating some tests from default flutter_test to spot I noticed that act.tap does not support setting the kind. We require this to test certain behaviour thats different based on touch vs mouse input.
flutter_test implementation:
await tester.tap(
find.text('MyFinder'),
kind: PointerDeviceKind.mouse,
);
Expected api:
await act.tap(
spotText('MyFinder'),
kind: PointerDeviceKind.mouse,
);
Same goes probably for all other tap/drag interactions that spot provides
While migrating some tests from default flutter_test to spot I noticed that
act.tapdoes not support setting thekind. We require this to test certain behaviour thats different based on touch vs mouse input.flutter_test implementation:
Expected api:
Same goes probably for all other tap/drag interactions that spot provides