+ before(async () => {
+ if (isIOS()) {
+ console.log('iOS detected')
+ } else if (isMobileDevice()) {
+ console.log('Android detected.')
+ } else if (isSafari()) {
+ console.log('Safari detected.')
+ }
+
+ if (isUploadUnsupported()) return
+
+ await browser.waitUntil(async () => {
+ await go('/')
+ await browserSleep(500)
+
+ return $('<my-app>').isDisplayed()
+ }, { timeout: 20 * 1000 })
+ })
+