![](/img/trans.png)
[英]Detox .tap() function only highlights, does not press. Why?
我正在 Android 上測試一個 react-native 應用程序,它使用原生Pressable類 * 中的按鈕。 這一切都在布局檢查器中工作,Detox 能夠找到可見的按鈕。 但是,當我嘗試await element(by.id('button')).tap()時,按鈕只會突出顯示,而不會正 ...
[英]Detox .tap() function only highlights, does not press. Why?
我正在 Android 上測試一個 react-native 應用程序,它使用原生Pressable類 * 中的按鈕。 這一切都在布局檢查器中工作,Detox 能夠找到可見的按鈕。 但是,當我嘗試await element(by.id('button')).tap()時,按鈕只會突出顯示,而不會正 ...
[英]Is the detox-cli a compiler or an interpreter
我指的是 React Native 設備的Detox測試框架中使用的detox-cli 。 我想知道 detox-cli 是編譯器還是解釋器? 謝謝 ...
[英]Why some tests are failing when running detox in parallel?
我正在用 Jest 運行 Detox。 如果我對 2 名工人運行測試,他們都通過了,但如果我對 4 名工人運行相同的測試,一些測試失敗感謝您提前提供幫助。 ...
[英]How do you detox test offline mode
我們正在開發一個反應本機應用程序,並在 CI 上使用 detox 構建自動化測試。 我想知道如何使用 detox 測試應用程序的離線模式? 有沒有人已經嘗試過這個? ...
[英]How to configure Detox in expo android project to test locally, without eject if possible?
我想在我的 expo 項目之一中運行 Detox。 我找到的文檔和方法是沒有Expo的React Native項目。有沒有辦法在Expo項目中配置排毒。 謝謝。 ...
[英]Detox React Native end to end test is not running when app is close
目前在 React Native 中使用 detox 做一些 e2e。 我正在嘗試在沒有打開模擬器的情況下運行 detox,但我現在無法讓它運行。 有誰知道為什么? 當模擬器打開時,我工作得很好。 我真的很感激你的想法,伙計們,非常感謝。 ...
[英]RCT-Folly-Build-Detox-React-Native
錯誤:以下構建命令失敗:CompileC /Path/ios/build/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/i386/F14Table.o /Pat ...
[英]Using a 2fa authenticator with detox e2e tests
我正在開發具有 2fa 確認某些功能的應用程序。 我想針對測試后端測試應用程序上需要 2fa 確認的功能。 我還沒有找到任何方法來做到這一點,只有關於它的未回答的問題。 有沒有人設法做到這一點,如果是這樣,怎么做? ...
[英]FBSSystemService reported failure without an error, possibly because the app is not currently running
我正在運行這個命令: 這是我的構建配置: 但是我的項目出現了這個錯誤: 這是我的 detoxrc.json 文件,以防有人想查看我當前的 Detox 配置 我們正在嘗試運行排毒測試並使模擬器工作,但似乎沒有任何工作。 如果有人遇到這個問題有什么建議嗎? 謝謝 ...
[英]Detox with Split.IO
我為 react-native 找到了 split.io 的笑話模擬。 我現在正在嘗試使用此模擬,以便我不會收到網絡超時,因為 split.io 正在嘗試在后台同步。 這是模擬: 我目前把它放在我的 detox init.js 文件中,但它似乎沒有做任何事情。 到目前為止,我能夠讓我的測試運行的唯一 ...
[英]DetoxRuntimeError: Detox can't seem to connect to the test app(s)! - Android only
我對裸 React Native 項目使用 Detox 自動化工具。 在 iOS 上一切正常,但是當我在 Android 上運行測試時,出現以下錯誤: DetoxRuntimeError:Detox 似乎無法連接到測試應用程序:提示。 您是否忘記在測試開始時調用“device?launchApp ...
[英]DetoxRuntimeError: Test Failed: First responder “(null)” does not conform to “UITextInput” protocol
我正在使用 ios 模擬器運行排毒測試 expo react-native 但是通過textinput()動作detox填充textInput有錯誤。 錯誤 = DetoxRuntimeError:測試失敗:第一響應者“(null)”不符合“UITextInput”協議it('fill email' ...
[英]Detox test failed to run: Cannot read properties of undefined (reading 'testEnvironmentOptions')
我一直在嘗試在反應原生應用程序上運行一些排毒測試。 直到最近,這些測試一直在進行。 現在我收到錯誤:測試套件無法運行 有想法該怎么解決這個嗎? 我已經嘗試更新 jest、jest-expo 和 jest-environment,以及 detox 本身。 ...
[英]How to manually upload baseline screenshots in Percy for base branch
我目前正在開發一個 react-native 應用程序,並希望使用 Percy,一種可視化測試服務來捕獲我的應用程序中的 UI 更改。 我不走故事書的方式。 目前,我們使用 detox 進行測試,它會生成我們直接上傳到 Percy 的截圖工件。 但是測試比較現在總是失敗,因為我們沒有基本分支的 ...
[英]Accessing App Arguments from Detox in React Native
我試圖弄清楚如何從 React Native 訪問 Detox 中的啟動參數。 官方文檔僅提供以下信息: 應用內 Arguments 訪問在 iOS 上,指定的啟動 arguments 作為進程啟動 arguments 傳遞,並通過正常方式可用。 在 Android 上,啟動 arguments ...
[英]How to run detox for react native on windows?
可以對 windows 進行排毒嗎? 如果沒有,是否有其他方法可以在 windows 環境中測試 React 本機應用程序? ...
[英]Task :react-native-splash-screen:processDebugAndroidTestManifest FAILED
我正在嘗試運行的命令: ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug 大多數進度都沒有失敗,但接近 90% 我收到一條錯誤消息 錯誤信息: 構建.gradle 我無法理解錯誤消息,因為我的 minSdk ...
[英]Execution failed for task ':vision-camera-code-scanner:checkDebugAndroidTestAarMetadata'
所以我已經做了一段時間了,我最近嘗試在我的 React Native 項目中將 Detox 測試添加到 android。 我按照官方 Detox 教程和這個https://varunon9.medium.com/e2e-testing-of-react-native-app-android-usin ...
[英]Detox tests hang with pending items on dispatch queue
我正在 Detox 上編寫 e2e 測試,以在 React Native 中測試 Firebase 應用程序。 看起來對firebase.auth().signInWithPhoneNumber(number)的調用在調度隊列中調度了一些項目,但這些項目似乎從未出隊,因此測試無法繼續。 我的預感是登 ...