You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to test if the typed text is retained after moving between different forms. it works manually but fails on detox . Is it something detox can't do ? or do I need to do anything extra?
awaittestHelper.replaceText(mandFields.payer_f_name,"Verify Form Closure");awaitelement(by.id(mandFields.payer_f_name)).swipe("left","slow");awaitelement(by.id("protection.grossIncome")).swipe("right","slow");awaittestHelper.assertHasLabel(mandFields.payer_f_name,"Verify Form Closure");
The text was updated successfully, but these errors were encountered:
Not sure I can understand the issue from the little details you gave.
Please tell us more on what you are trying to accomplish, supply detox logs, device logs, and configuration if needed.
Also, please state the versions of Detox, Node, Xcode, React Native...
The app is for form filling, there are multiple "pages" for these forms, you can swipe back and forth between the "pages" but it retains the values in all pages ( maintained in redux state ). When I try out a test manually the details I have entered is retained in different pages even if i swipe in and out. However, the same test fails when written with Detox.
As long as the app logic works, I don’t see how Detox can interfere. Could be that your internal logic does not work with replaceText, which acts as if the user “pasted” the text, rather than type it. Make sure your app handles all text events properly. Add logs to your app logic and see that it sees text changes properly and acts up them as you expect.
Description
I want to test if the typed text is retained after moving between different forms. it works manually but fails on detox . Is it something detox can't do ? or do I need to do anything extra?
The text was updated successfully, but these errors were encountered: