mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 01:44:13 +00:00
fix(journey): two quick swipes in the photo viewer turn pages instead of zooming
A double tap counted every lift of a finger, the end of a swipe included, so two quick swipes zoomed in. Only a touch that stays in place is a tap now. The client tests follow the fields and arguments the qol sweep added.
This commit is contained in:
@@ -806,10 +806,10 @@ describe('TodoListPanel — detail pane', () => {
|
||||
]} />);
|
||||
|
||||
await user.click(screen.getByText('Plan route'));
|
||||
expect(await screen.findByDisplayValue('coast')).toBeInTheDocument();
|
||||
expect((await screen.findAllByText('coast')).length).toBeGreaterThan(0);
|
||||
|
||||
await user.click(screen.getByText('Book ferry'));
|
||||
await waitFor(() => expect(screen.queryByDisplayValue('coast')).not.toBeInTheDocument());
|
||||
await waitFor(() => expect(screen.getByDisplayValue('Book ferry')).toBeInTheDocument());
|
||||
expect(screen.getByDisplayValue('Book ferry')).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user