Detox _ Failed to type string because keyboard was not shown on screen
I'm trying to test my react-native app using detox, waiting for a text input to be visible and typing text in it. My spec JS file looks like this: describe('FiestTest', () => { beforeEach(async () => { await device.reloadReactNative() }) it('Login to a test account', async () => { // LoginPage: entering phone number moving to next page await expect(element(by.id('LoginPage-phoneInput'))).toBeVisible() await element(by.id('LoginPage-phoneInput')).typeText('<someNumber>') }) }) And the error I get is: FiestTest 1) Enter phone number and tap on button 0 passing (15s) 1 failing 1) FiestTest Enter