Skip to content

Commit

Permalink
fix: iOS tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Nov 29, 2023
1 parent 6aeb889 commit 53cb56d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions detox/e2e/aware-scroll-view.e2e.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import waitForExpect from 'wait-for-expect';

import { expectBitmapsToBeEqual } from './asserts';
import { waitAndReplace, waitAndTap, waitAndType } from './helpers';
import { tap, waitAndReplace, waitAndTap, waitAndType } from './helpers';
import setDemoMode from './utils/setDemoMode';

const BLINKING_CURSOR = 0.35;
Expand Down Expand Up @@ -47,8 +47,8 @@ describe('AwareScrollView test cases', () => {
});

it('should scroll back when keyboard dismissed', async () => {
// tap outside of input to close a keyboard
await waitAndTap('TextInput#4', { x: 0, y: -10 });
// tap outside to close a keyboard
await tap('aware_scroll_view_container', { x: 0, y: 100 });
await waitForExpect(async () => {
await expectBitmapsToBeEqual(
'AwareScrollViewKeyboardClosed',
Expand Down

0 comments on commit 53cb56d

Please sign in to comment.