react-native-toast-notifications icon indicating copy to clipboard operation
react-native-toast-notifications copied to clipboard

Missing Unit test and ability to add testId to the toast message.

Open praveenvino39 opened this issue 1 year ago • 1 comments

I recently came across this library, and I find it quite impressive. However, as I started using it, I encountered an issue that I'd like to discuss.

I'm trying to test a specific screen where the toast message should appear and disappear after a configured duration. While attempting to implement this, I found it difficult to write UI test cases without using a testId.

After delving into the source code of the library, I realized that there's no straightforward way to add a testId for the toast message displayed using this library. Additionally, I noticed that the library lacks any test cases.

It would be incredibly helpful if there were some test files included with the library.

praveenvino39 avatar Apr 24 '24 20:04 praveenvino39

This would be a nice addition indeed

tomruijgrok avatar Feb 05 '25 11:02 tomruijgrok