fix(testing): e2e flag no longer needed, testID is now applicable in dev or prod builds (#10396)

- you can now test on development or production with testID set
- for android, this changes testID to use resource id instead of content description
- you no longer need to pass `--env.e2e`. e2e is simply usable if testID is set
- the `testID` property will also set `accessibilityIdentifier` and `accessibilityIdentifier` property will set `testID` only if there is a `testID` already set
This commit is contained in:
Canmert
2023-10-04 18:49:26 +03:00
committed by GitHub
parent 757af1430e
commit 0a2b2202f3
16 changed files with 40 additions and 82 deletions

View File

@@ -52,7 +52,6 @@ export interface IWebpackEnv {
// misc
replace?: string[] | string;
watchNodeModules?: boolean;
e2e?: boolean;
}
interface IChainEntry {