wix / Detox

Gray box end-to-end testing and automation framework for mobile apps
https://wix.github.io/Detox/
MIT License
10.99k stars 1.9k forks source link

Simplify regular expression handling #4244

Open noomorph opened 6 months ago

noomorph commented 6 months ago

Describe your idea

Detox API has all those blacklist regexps in launchApp arguments and Device APIs, but they are hard to grasp due to various escaping and platform issues.

I suggest to make a breaking change and ensure that passing /plain-regexp/ and /plain-regexp/.source (as a string) would produce exactly the same results for both iOS and Android drivers (at max possible extent, taking into account platform differences).

The regexp in launch args should be passable as an array for more comfort.

stale[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this repository, read this discussion.