Bethany DrakeinLevel Up CodingMigrating from Enzyme to RTL with Existing Test IdsTLDR: When getByTestId fails, configure the testId attribute. If that’s not a good option for your codebase, use document.querySelector()Jan 30Jan 30
Bethany DrakeI know this is an older story so I don’t expect a response, but...Feb 23, 2021Feb 23, 2021
Bethany DrakeinBetter ProgrammingUsing window.matchMedia in ReactSpoiler: Safari makes it messyJan 15, 20211Jan 15, 20211
Bethany DrakeHow to Test Images in ReactReact-testing-library doesn’t help us. But vanilla JavaScript gives us everything we need!Sep 7, 20203Sep 7, 20203
Bethany DrakeinLevel Up CodingAndroid: The Back ButtonsAn introductory guide to back buttons in android apps.Jun 29, 20201Jun 29, 20201
Bethany DrakeinBetter ProgrammingHow to Test Android ActivitiesIn test environments, Android doesn’t exist. This means that testing even the simplest activity can be trickyJun 19, 2020Jun 19, 2020