Tom Truyen
02/26/2024, 6:54 AMsemantics on our Composables . Now for a custom component we had to use Canvas te draw it.
Does anyone know of a way to access the contents of the Canvas in testing? e.g.: a drawText is used and we would like to validate the value displayed. Can this be done by reading it directly from the Canvas in testing or must we attempt to validate this value in our testing before getting to the point of drawing it on the CanvasAlbert Chang
02/26/2024, 10:12 AMtext) anyway for accessibility (so that the screen reader can read the text).Tom Truyen
02/26/2024, 10:19 AMdrawText so is there an alternative?Albert Chang
02/26/2024, 10:20 AMTom Truyen
02/26/2024, 10:23 AMDrawScope how can I access the value of the drawText that can't be done with the semantics on the Canvas itselfAlbert Chang
02/26/2024, 10:24 AMZach Klippenstein (he/him) [MOD]
02/26/2024, 6:23 PMTom Truyen
02/26/2024, 6:27 PM