Home
last modified time | relevance | path

Searched refs:waitFor (Results 1 – 24 of 24) sorted by relevance

/expo/packages/expo-dev-launcher/bundle/screens/__tests__/
H A DHomeScreen.test.tsx7 import { render, waitFor, fireEvent, act } from '../../test-utils';
43 await waitFor(() => getByText(devSessionInstructionsRegex));
48 await waitFor(() => getByText(refetchDevSessionsRegex));
78 await waitFor(() => getByText(fakeDevSessions[0].description));
91 await waitFor(() => getByText(refetchDevSessionsRegex));
99 await waitFor(() => getByText(refetchDevSessionsRegex));
117 await waitFor(() => expect(loadButton).not.toBeDisabled());
140 await waitFor(() => getByText(/invalid url/i));
208 await waitFor(() => getByText(fakeDevSession.description));
230 await waitFor(() => getByText(fakeApp.url));
[all …]
H A DExtensionsScreen.test.tsx6 import { render, waitFor, act, fireEvent, mockGraphQLResponse } from '../../test-utils';
85 await waitFor(() => getByText(/extensions allow you to customize your development build/i));
86 await waitFor(() => getAllByText(/learn more/i));
106 await waitFor(() => getByA11yLabel(/log in/i));
107 await waitFor(() => getByA11yLabel(/sign up/i));
133 await waitFor(() => getByText(/branch: testBranch/i));
134 await waitFor(() => getByText(/Update "Hello joe"/i));
181 await waitFor(() => getByText(/see all branches/i));
212 await waitFor(() => getByText(getCompatibleBranchMessage(1)));
232 await waitFor(() => getByText(/no published updates yet/i));
H A DUserProfileScreen.test.tsx6 import { render, act, fireEvent, waitFor } from '../../test-utils';
77 await waitFor(() => getByText(fakeAccounts[0].ownerUserActor!.username));
103 await waitFor(() => getByText(fakeAccounts[0].ownerUserActor!.username));
132 await waitFor(() => getByText(fakeAccounts[0].ownerUserActor!.username));
147 await waitFor(() => getByTestId(`active-account-checkmark-${fakeAccounts[0].id}`));
152 await waitFor(() => getByTestId(`active-account-checkmark-${fakeAccounts[1].id}`));
164 const logoutButton = await waitFor(() => getByText(/log out/i));
169 await waitFor(() => getByText(/are you sure you want to log out/i));
H A DBranchesScreen.test.tsx5 import { render, waitFor, act, fireEvent, mockGraphQLResponse } from '../../test-utils';
72 await waitFor(() => getByText(/testBranch/i), { timeout: 5000 });
100 await waitFor(() => getByText(/test update/i));
151 await waitFor(() => getByText(incompatibleMessage));
172 await waitFor(() => getByText(/no published updates yet/i));
207 await waitFor(() => getByText(getCompatibleBranchMessage(1)));
H A DUpdatesScreen.test.tsx5 import { render, waitFor, act, fireEvent, mockGraphQLResponse } from '../../test-utils';
76 await waitFor(() => getByText(/hi joe/i));
99 await waitFor(() => getByText(/no updates available/i));
/expo/packages/expo-dev-client/e2e/
H A DDevLauncher.e2e.ts1 import { element, expect, waitFor, by, device } from 'detox';
19 await waitFor(button).toBeVisible().withTimeout(timeout);
28 await waitFor(button).toBeVisible();
65 await waitFor(element(by.id('DevLauncherMainScreen')))
71 await waitFor(element(by.id('LocalAppMainScreen')))
/expo/apps/test-suite/tests/
H A DLinking.js6 import { waitFor } from './helpers';
63 await waitFor(8000);
79 await waitFor(8000);
94 await waitFor(1000);
106 await waitFor(500);
123 await waitFor(500);
H A DRecording.js4 import { retryForStatus, waitFor } from './helpers';
88 await waitFor(defaultRecordingDurationMillis);
154 await waitFor(defaultRecordingDurationMillis);
169 await waitFor(defaultRecordingDurationMillis);
211 await waitFor(defaultRecordingDurationMillis);
226 await waitFor(defaultRecordingDurationMillis);
240 await waitFor(defaultRecordingDurationMillis);
256 await waitFor(defaultRecordingDurationMillis);
301 await waitFor(defaultRecordingDurationMillis);
357 await waitFor(defaultRecordingDurationMillis);
[all …]
H A DSpeech.js5 import { waitFor } from './helpers';
27 await waitFor(
41 await waitFor(
H A Dhelpers.js6 export const waitFor = (millis) => new Promise((resolve) => setTimeout(resolve, millis)); function
59 waitFor,
H A DNotifications.js10 import { waitFor } from './helpers';
59 await waitFor(500);
183 await waitFor(1000);
195 await waitFor(1000);
207 await waitFor(1000);
234 await waitFor(3000);
843 await waitFor(1000);
856 await waitFor(1000);
984 await waitFor(6000);
1038 await waitFor(6000);
[all …]
H A DVideo.js390 await waitFor(1000);
398 await waitFor(1000);
420 await waitFor(1000);
422 await waitFor(1000);
439 await waitFor(1000);
442 await waitFor(1000);
458 await waitFor(1000);
461 await waitFor(1000);
675 await waitFor(500);
783 await waitFor(500);
[all …]
H A DCamera.js6 import { waitFor, mountAndWaitFor as originalMountAndWaitFor, retryForStatus } from './helpers';
275 await waitFor(500);
282 await waitFor(2500);
390 await waitFor(duration);
403 await waitFor(1000);
H A DAudio.js7 import { retryForStatus, waitFor } from './helpers';
429 await waitFor(500);
H A DMediaLibrary.js5 import { waitFor } from './helpers';
178 await waitFor(1000);
/expo/packages/expo-dev-menu/app/components/__tests__/
H A DMain.test.tsx13 import { render, waitFor, fireEvent, act } from '../../test-utils';
43 await waitFor(() => getByText(/go home/i));
60 await waitFor(() => getByText(/go home/i));
70 await waitFor(() => getByText(/go home/i));
94 await waitFor(() => getByText(/go home/i));
103 await waitFor(() => getByText(/go home/i));
122 await waitFor(() => getByText(/go home/i));
146 await waitFor(() => getByText(/go home/i));
/expo/packages/expo-dev-launcher/bundle/components/__tests__/
H A DDeepLinkModal.test.tsx8 import { render, act, waitFor, fireEvent } from '../../test-utils';
41 await waitFor(() => getByText(fakeDeepLink));
56 await waitFor(() => queryByText(/deep link received/i));
69 const [button] = await waitFor(() => getAllByText(fakeLocalDevSession.description));
85 await waitFor(() => getAllByText(/unable to find any packagers/i));
/expo/apps/bare-expo/e2e/
H A DTestSuite-test.native.js1 import { by, device, element, expect, waitFor } from 'detox';
55 await waitFor(element(by.id('test_suite_text_results')))
/expo/packages/expo-updates/e2e/fixtures/
H A DUpdates.e2e.ts1 import { by, device, element, waitFor } from 'detox';
17 await waitFor(element(by.id('activity')))
27 await waitFor(element(by.id('activity')))
42 await waitFor(element(by.id('activity')))
57 await waitFor(element(by.id('activity')))
63 await waitFor(element(by.id('updateString')))
594 await waitFor(element(by.id('activity')))
606 await waitFor(element(by.id('activity')))
/expo/apps/native-component-list/src/screens/GestureHandler/
H A DFancyButton.tsx35 waitFor={this.doubleTapRef}
/expo/ios/vendored/unversioned/react-native-gesture-handler/ios/
H A DRNGestureHandler.m110 _handlersToWaitFor = [RCTConvert NSNumberArray:config[@"waitFor"]];
/expo/ios/vendored/sdk49/react-native-gesture-handler/ios/
H A DABI49_0_0RNGestureHandler.m110 _handlersToWaitFor = [ABI49_0_0RCTConvert NSNumberArray:config[@"waitFor"]];
/expo/ios/vendored/sdk48/react-native-gesture-handler/ios/
H A DABI48_0_0RNGestureHandler.m110 _handlersToWaitFor = [ABI48_0_0RCTConvert NSNumberArray:config[@"waitFor"]];
/expo/ios/vendored/sdk47/react-native-gesture-handler/ios/
H A DABI47_0_0RNGestureHandler.m110 _handlersToWaitFor = [ABI47_0_0RCTConvert NSNumberArray:config[@"waitFor"]];