Comments (3)
Hello!
I have been running this issue aswell during the past days. It has something to do with the useUnmergedTree
parameter that the onRoot
should be able to receive. However the onRoot().onChildren()
method doesn't take into account the nested children of the node no matter if you make use of useUnmergedTree
or not.
I have opened a PR (#15) with a fix for it. Please take a look at it!
Thank you so much.
from compose.
Hi @FrangSierra , I downloaded your branch and tested it against my project and it works great. I can't really comment on whether this is the best way to solve the problem as I'm not very familiar with the workings of compose.
Many thanks,
Pentti
from compose.
Close with #17
from compose.
Related Issues (20)
- Problems with matching child nodes for the Compose Screen HOT 3
- Add API to test Lazy lists HOT 2
- Add API to get children from specific node
- Add support for wait operation HOT 1
- performGesture is deprecated
- NodeActions.performTouchInput HOT 2
- Configure useUnmergedTree flag HOT 4
- Enhancement - add description parameter for NodeAssertions
- Add R.string support for hasText and such HOT 1
- Source code is not available directly from projects HOT 2
- 0.3 version requeries java 17 HOT 2
- Enhancement - Add support for checking the length of a lazy list HOT 1
- Enhancement - Add support for content checking and tint color for compose icon. HOT 1
- Enhancement - Add support for text color checking HOT 1
- Enhancement - Add support for checking background color and shape. HOT 1
- Problem with LazyColumn and clickable modifier HOT 3
- DatePicker Compose testing HOT 1
- Can not assert child of KLazyListItemNode HOT 2
- Request: Api to test if item of given type is not present in Lazy(Cloumn|Row)
- Test several lazy columns in a row
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compose.