1

I am writing UI tests for a ready-made ios application. I have a window in which you need to enter a valid link and tap on the Enter key to go to the next window. But the test stops after the command app.keyboards.buttons ["continue"].tap() and the main.m file opens which looks like this. enter image description here

I am new to ui testing. Please tell me what could be the problem.

Anton
  • 11
  • 3
  • I’m assuming this does not happen when you manually press that button? Does the debugDescription show the presence of a button “continue”? I wonder if behind the scenes it my be the “return” button still? – Mike Collins Sep 21 '21 at 19:52
  • If you press the button manually, the same thing happens. The same thing happens when trying to call debugDescription. The transition to the next window should occur by pressing the "enter" key on the system keyboard. But neither "debugDescription" nor "po app" work, and we go to the main.m window. – Anton Sep 22 '21 at 05:35
  • Then I’d guess it’s not a problem with XCUITest and instead a problem with your app. – Mike Collins Sep 22 '21 at 13:59

0 Answers0