File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -170,11 +170,6 @@ view.spec.action.triggerTap()
170170view.spec .action .triggerTap (taps : 3 , touches : 2 )
171171```
172172------
173- Simulate swipe on a view with UISwipeGestureRecognizer(s)
174- ``` Swift
175- view.spec .action .triggerSwipe (direction : .up )
176- ```
177- ------
178173Simulate tap on a UITableView cell
179174``` Swift
180175tableView.spec .action .tap (row : 6 )
@@ -189,6 +184,14 @@ collectionView.spec.action.tap(item: 3)
189184collectionView.spec .action .tap (item : 2 , section : 1 )
190185```
191186
187+ #### Simulating swipes
188+
189+ Simulate swipe on a view with UISwipeGestureRecognizer(s)
190+ ``` Swift
191+ view.spec .action .triggerSwipe (direction : .up )
192+ ```
193+ ------
194+
192195#### Executing gesture recognizers (not available on tvOS)
193196
194197Execute action on any UIGestureRecognizer
You can’t perform that action at this time.
0 commit comments