(text)
| 291 | } |
| 292 | |
| 293 | export async function tapIfTextPresent(text) { |
| 294 | try { |
| 295 | await element(by.text(text)).tap(); |
| 296 | } catch (_) {} |
| 297 | // no need to check for visibility, just silently ignore exception if such testID is not present |
| 298 | } |
| 299 | |
| 300 | /** |
| 301 | * Confirms password dialogs in a platform-safe way. |
no test coverage detected