Skip to content

Commit

Permalink
Fix Detox build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Risch authored and Alex Risch committed Feb 9, 2024
1 parent e0fbed8 commit a2ca67e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ android {
}

dependencies {
androidTestImplementation('com.wix:detox:+')
androidTestImplementation('com.wix:detox:+'){
exclude module: "protobuf-lite"
}
implementation 'androidx.appcompat:appcompat:1.1.0'
// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")
Expand Down
6 changes: 3 additions & 3 deletions e2e/starter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ describe('Example', () => {
element(by.id(TestIds.ONBOARDING_CONNECT_GUEST_OPTION_BUTTON)),
).toBeVisible();
await element(by.id(TestIds.ONBOARDING_CONNECT_GUEST_OPTION_BUTTON)).tap();
await expect(
element(by.id(TestIds.CONVERSATION_LIST_SCREEN)),
).toBeVisible();
await waitFor(element(by.id(TestIds.CONVERSATION_LIST_SCREEN)))
.toBeVisible()
.withTimeout(5000);
await expect(
element(by.id(TestIds.CONVERSATION_LIST_NEW_BUTTON)),
).toBeVisible();
Expand Down

0 comments on commit a2ca67e

Please sign in to comment.