diff --git a/detox/src/ios/expect.js b/detox/src/ios/expect.js index 454d7a1f1e..e338650b9e 100644 --- a/detox/src/ios/expect.js +++ b/detox/src/ios/expect.js @@ -38,7 +38,7 @@ class IdMatcher extends Matcher { constructor(value) { super(); if (typeof value !== 'string') throw new Error(`IdMatcher ctor argument must be a string, got ${typeof value}`); - this._call = invoke.call(invoke.IOS.Class('GREYMatchers'), 'matcherForAccessibilityId:', value); + this._call = invoke.call(invoke.IOS.Class('GREYMatchers'), 'matcherForAccessibilityID:', value); } }