It’s 10:00 AM on a quiet weekday and I’m watching one more failed take a look at report.
This wasn’t simply any take a look at case , it was one I had reviewed and debugged final week after some UI adjustments. And now it had mysteriously failed. Once more…
The error? Visibily there is no such thing as a error.
What ought to have been: this textual content ought to be displayed on the welcome display screen:
“Bienvenue à bord de l’software my-app-name!”
I made a glance on the app screenshot and the textual content was accurately displayed.. there was no problem:
I made a decision to make a glance on the Appium XML :
<XCUIElementTypeStaticText kind="XCUIElementTypeStaticText"
worth="Bienvenue à bord de l'software my-app-name !"
enabled="true" seen="false" accessible="true" x="879" y="522"
width="312" peak="50" index="7"/>
That little “ “ — a sneaky newline character — had crept into the XML output…