I get the error when I try and
I can find the pressable
component and log it in the console:
BaseWebElementPromise {
elementPromise: Element {
value: '34741788-6ee2-4a95-83bf-fd3476adafbf',
browser: EventEmitter {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
httpAgent: [Agent],
configUrl: [Url],
sauceTestPageRoot: '',
sauceRestRoot: '',
noAuthConfigUrl: [Url],
defaultCapabilities: [Object],
_httpConfig: [Object],
sampleElement: [Element],
sessionID: '50898740a61f2451062f41602293ae0a5084510a',
w3c: true,
[Symbol(kCapture)]: false
}
},
But when I try and access the click:
await continueButton.click()
I get the error:
status: 'FAILED',
message: 'Error: function timed out, ensure the promise resolves within 180000 milliseconds\n' +
' at Timeout.<anonymous> (/Users/HarrisM/apps/myrac-mobile-tests/node_modules/@cucumber/cucumber/src/time.ts:52:14)\n' +
' at listOnTimeout (node:internal/timers:569:17)\n' +
' at processTimers (node:internal/timers:512:7)',
It works fine on iOS, any ideas?