Accessing StateObject's object without being installed on a View. #152
Replies: 3 comments
-
Hi :) |
Beta Was this translation helpful? Give feedback.
-
Hi everyone |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
What do you do when you run your tests and get logging like this in the console:
I am pretty sure not all these printouts does not show up when running the app, and I was trying to fix my viewinspector based tests so that I got less of them.
I find, that when I use find/findAll, these printouts/warnings show up. and when I use stepwise navigation to find subviews, the warnings mostly disappear.
I want to use find/findAll to make my tests less sensitive to UI changes.
But I do not want the printout of tests to have (possibly? false) warnings about potential errors, as that lowers the signal to noise ration and real problems will slip through.
I would appreciate to learn from how others deal with this?
Is it a problem, that nobody else experience at all?
Beta Was this translation helpful? Give feedback.
All reactions