-
Notifications
You must be signed in to change notification settings - Fork 174
测试结束的时候报错Application 'xxx' is not foreground and does not allow background interaction #98
Comments
Hey @lichanghong ! Could you provide more details about what has happened before you encountered this error? For example, are you testing on the Simulator or a real device. What is the Xcode version you are using? Which version of SwiftMonkey are you using? |
I got into this situation also. The monkey would tap on something which would launch Safari perhaps and thus leave the app context. How I tried to solve this, irrespective of the Monkey framework, was to either prevent this from the app side (i.e., switch off the app's webview elements, etc...) or periodically call If this can be solved on the monkey framework end, I'm listening. 😄 |
This is what I'm doing to keep the app in the foreground:
thus the monkey will foreground the app after every monkey event to ensure it's not in the background. It doesn't slow down the runs since |
my swiftmonkey version is 2.1.1 with real device, forget Xcode version |
2021-01-20 06:44:54.332704+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1836.47s Synthesize event
2021-01-20 06:44:54.520708+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1836.61s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1836.70s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:54.751736+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1836.85s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (126.2, 381.6)
t = 1836.85s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:54.903929+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1837.00s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1837.03s Check for interrupting elements affecting "自" Application
t = 1837.04s Wait for com.apple.springboard to idle
2021-01-20 06:44:55.090828+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1837.23s Synthesize event
2021-01-20 06:44:55.282934+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1837.38s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1837.47s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:55.518090+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1837.62s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (6.0, 207.3)
t = 1837.62s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:55.671953+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1837.77s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1837.80s Check for interrupting elements affecting "自" Application
t = 1837.81s Wait for com.apple.springboard to idle
2021-01-20 06:44:55.860296+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1838.00s Synthesize event
2021-01-20 06:44:56.051776+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1838.15s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1838.24s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:56.286840+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1838.39s Press Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (302.0, 631.3) for 0.5 seconds
t = 1838.39s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:56.440278+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1838.54s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1838.57s Check for interrupting elements affecting "自" Application
t = 1838.58s Wait for com.apple.springboard to idle
2021-01-20 06:44:56.627466+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1838.77s Synthesize event
2021-01-20 06:44:56.816621+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1838.91s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1839.46s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:57.535428+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1839.64s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (351.7, 5.3)
t = 1839.64s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:57.692726+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1839.80s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1839.83s Check for interrupting elements affecting "自" Application
t = 1839.83s Wait for com.apple.springboard to idle
2021-01-20 06:44:57.885733+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1840.02s Synthesize event
2021-01-20 06:44:58.074196+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1840.17s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1840.25s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:58.305129+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1840.41s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (227.6, 662.5)
t = 1840.41s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:58.459028+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1840.56s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1840.59s Check for interrupting elements affecting "自如" Application
t = 1840.59s Wait for com.apple.springboard to idle
2021-01-20 06:44:58.645850+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1840.78s Synthesize event
2021-01-20 06:44:58.833619+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1840.93s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1841.02s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:59.068732+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1841.17s Double tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (200.1, 310.0)
t = 1841.17s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:44:59.224255+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1841.32s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1841.35s Check for interrupting elements affecting "自" Application
t = 1841.36s Wait for com.apple.springboard to idle
2021-01-20 06:44:59.407755+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1841.54s Synthesize event
2021-01-20 06:44:59.593931+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1841.69s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1842.03s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:00.113310+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1842.22s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (253.2, 373.7)
t = 1842.22s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:00.270383+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1842.37s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1842.40s Check for interrupting elements affecting "自如" Application
t = 1842.41s Wait for com.apple.springboard to idle
2021-01-20 06:45:00.462060+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1842.60s Synthesize event
2021-01-20 06:45:00.653386+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1842.75s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1842.83s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:00.884298+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1842.99s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (327.3, 442.7)
t = 1842.99s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:01.038488+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1843.14s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1843.17s Check for interrupting elements affecting "自" Application
t = 1843.17s Wait for com.apple.springboard to idle
2021-01-20 06:45:01.225402+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1843.36s Synthesize event
2021-01-20 06:45:01.410725+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1843.51s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1843.59s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:01.643042+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1843.75s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (165.4, 142.1)
t = 1843.75s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:01.797322+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1843.90s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1843.93s Check for interrupting elements affecting "自" Application
t = 1843.94s Wait for com.apple.springboard to idle
2021-01-20 06:45:01.989970+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1844.13s Synthesize event
2021-01-20 06:45:02.179607+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1844.27s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1844.36s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:02.414531+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1844.52s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (174.8, 23.2)
t = 1844.52s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:02.571419+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1844.67s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1844.70s Check for interrupting elements affecting "自" Application
t = 1844.71s Wait for com.apple.springboard to idle
2021-01-20 06:45:02.760783+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1844.90s Synthesize event
2021-01-20 06:45:02.953914+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1845.05s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1845.14s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:03.189559+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1845.29s Press Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (281.3, 80.0) for 0.2 seconds, then drag to Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (3.2, 596.5) with velocity of 500.00 pixels per second, and then hold for 0.0 seconds
t = 1845.29s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:03.343314+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1845.44s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1845.47s Check for interrupting elements affecting "自" Application
t = 1845.48s Wait for com.apple.springboard to idle
2021-01-20 06:45:03.531053+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1845.67s Synthesize event
2021-01-20 06:45:03.721585+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1845.82s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1845.85s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1847.27s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:05.373488+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1847.49s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (359.1, 98.6)
t = 1847.49s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:05.557872+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1847.67s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1847.70s Check for interrupting elements affecting "自如" Application
t = 1847.71s Wait for com.apple.springboard to idle
2021-01-20 06:45:05.768565+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1847.97s Synthesize event
2021-01-20 06:45:06.019727+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1848.11s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1848.20s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:06.253385+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1848.36s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (234.3, 285.8)
t = 1848.36s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:06.408367+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1848.51s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1848.54s Check for interrupting elements affecting "自" Application
t = 1848.54s Wait for com.apple.springboard to idle
2021-01-20 06:45:06.597026+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1848.73s Synthesize event
2021-01-20 06:45:06.785098+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1848.88s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1848.97s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:07.018023+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1849.12s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (23.8, 523.3)
t = 1849.12s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:07.172779+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1849.27s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1849.30s Check for interrupting elements affecting "自" Application
t = 1849.31s Wait for com.apple.springboard to idle
2021-01-20 06:45:07.359447+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1849.50s Synthesize event
2021-01-20 06:45:07.549249+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1849.65s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1849.74s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:07.786634+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1849.89s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (218.1, 7.9)
t = 1849.89s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:07.939863+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1850.04s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1850.07s Check for interrupting elements affecting "自" Application
t = 1850.08s Wait for com.apple.springboard to idle
2021-01-20 06:45:08.128750+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1850.27s Synthesize event
2021-01-20 06:45:08.321790+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1850.42s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1850.50s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:08.556738+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1850.66s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (180.9, 597.0)
t = 1850.66s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:08.709826+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1850.81s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1850.84s Check for interrupting elements affecting "自" Application
t = 1850.85s Wait for com.apple.springboard to idle
2021-01-20 06:45:08.902972+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1851.04s Synthesize event
2021-01-20 06:45:09.093503+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1851.19s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1851.28s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:09.326750+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1851.43s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (6.4, 364.4)
t = 1851.43s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:09.483195+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1851.59s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1851.62s Check for interrupting elements affecting "自" Application
t = 1851.62s Wait for com.apple.springboard to idle
2021-01-20 06:45:09.675616+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1851.81s Synthesize event
2021-01-20 06:45:09.860093+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1851.95s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1852.04s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:10.094346+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1852.20s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (299.7, 55.2)
t = 1852.20s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:10.250905+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1852.35s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1852.38s Check for interrupting elements affecting "自" Application
t = 1852.39s Wait for com.apple.springboard to idle
2021-01-20 06:45:10.442536+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1852.58s Synthesize event
2021-01-20 06:45:10.633322+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1852.73s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1852.81s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:10.865430+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1852.97s Press Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (65.7, 105.0) for 0.2 seconds, then drag to Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (90.3, 106.0) with velocity of 500.00 pixels per second, and then hold for 0.0 seconds
t = 1852.97s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:11.021827+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1853.12s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1853.15s Check for interrupting elements affecting "自" Application
t = 1853.16s Wait for com.apple.springboard to idle
2021-01-20 06:45:11.211260+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1853.35s Synthesize event
2021-01-20 06:45:11.401140+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1853.50s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1853.52s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1853.87s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:11.942713+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1854.06s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (198.0, 656.8)
t = 1854.06s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:12.111029+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1854.52s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1854.55s Check for interrupting elements affecting "自如" Application
t = 1854.60s Wait for com.apple.springboard to idle
2021-01-20 06:45:12.643304+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1854.84s Wait for com.apple.Spotlight to idle
2021-01-20 06:45:12.876583+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1854.99s Synthesize event
2021-01-20 06:45:13.024952+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1855.12s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1855.21s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:13.242622+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1855.34s Double tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (144.4, 523.2)
t = 1855.34s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:13.375843+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1855.48s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1855.51s Check for interrupting elements affecting "自" Application
t = 1855.54s Wait for com.apple.springboard to idle
2021-01-20 06:45:13.575003+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1855.77s Wait for com.apple.Spotlight to idle
2021-01-20 06:45:13.802173+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1855.91s Synthesize event
2021-01-20 06:45:13.944668+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1856.04s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1856.38s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:14.436044+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1856.54s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (188.3, 71.6)
t = 1856.54s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:14.571616+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1856.67s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1856.70s Check for interrupting elements affecting "自如" Application
t = 1856.73s Wait for com.apple.springboard to idle
2021-01-20 06:45:14.766014+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1856.96s Wait for com.apple.Spotlight to idle
2021-01-20 06:45:14.992108+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1857.10s Synthesize event
2021-01-20 06:45:15.137116+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1857.23s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1857.32s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:15.352580+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1857.45s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (72.2, 204.9)
t = 1857.46s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:15.491064+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1857.59s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1857.62s Check for interrupting elements affecting "自" Application
t = 1857.65s Wait for com.apple.springboard to idle
2021-01-20 06:45:15.688815+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1857.88s Wait for com.apple.Spotlight to idle
2021-01-20 06:45:15.916204+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1858.02s Synthesize event
2021-01-20 06:45:16.057235+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1858.15s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1858.23s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:16.267424+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1858.37s Tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (363.6, 335.5)
t = 1858.37s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:16.402473+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1858.50s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1858.53s Check for interrupting elements affecting "自" Application
t = 1858.56s Wait for com.apple.springboard to idle
2021-01-20 06:45:16.600050+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1858.79s Wait for com.apple.Spotlight to idle
2021-01-20 06:45:16.826809+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1858.93s Synthesize event
2021-01-20 06:45:16.969591+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1859.06s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1859.15s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:17.286257+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1859.40s Double tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (296.9, 592.0)
t = 1859.40s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:17.467858+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1859.57s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1859.61s Check for interrupting elements affecting "自" Application
t = 1859.64s Wait for com.apple.springboard to idle
2021-01-20 06:45:17.918075+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1860.28s Wait for com.apple.Spotlight to idle
2021-01-20 06:45:18.328117+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1890.45s Found 1 interrupting element:
t = 1890.45s Find the "恢复“日历”?" Alert
t = 1890.50s "恢复“日历”?" Alert from Application 'com.apple.springboard'
t = 1890.51s Invoking UI interruption monitors for "恢复“日历”?" Alert from Application 'com.apple.springboard'
t = 1890.51s Find the "恢复“日历”?" Alert
t = 1890.53s Checking existence of
Button
t = 1890.57s Checking existence of
Button
t = 1890.60s Default interruption handler attempting to dismiss alert by tapping Button.
t = 1890.60s Tap Button
t = 1890.60s Wait for com.apple.springboard to idle
2021-01-20 06:45:48.630824+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1890.73s Find the Button
t = 1890.77s Check for interrupting elements affecting "取消" Button
t = 1890.80s Synthesize event
2021-01-20 06:45:48.833616+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1890.99s Wait for com.apple.springboard to idle
2021-01-20 06:45:49.029735+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1891.42s Verifying handling...
t = 1891.43s Check for interrupting elements affecting "自" Application
t = 1891.44s Wait for com.apple.springboard to idle
2021-01-20 06:45:49.484652+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1891.62s Confirmed successful handling of interrupting element
t = 1892.62s Retrying
Double tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (296.9, 592.0)
(attempt #2)t = 1892.62s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:50.697249+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1892.79s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1892.81s Ignoring failure to get hierarchy for remote element in process 69977 (Error getting main window kAXErrorServerNotFound)
t = 1892.82s Check for interrupting elements affecting "自如" Application
t = 1892.83s Wait for com.apple.springboard to idle
2021-01-20 06:45:50.866754+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1894.00s Retrying
Double tap Target Application 'com.ziroom.ZiroomProject'[0.00, 0.00] -> (296.9, 592.0)
(attempt #3)t = 1894.00s Wait for com.ziroom.ZiroomProject to idle
2021-01-20 06:45:52.076352+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
t = 1894.17s Find the Target Application 'com.ziroom.ZiroomProject'
t = 1894.19s Ignoring failure to get hierarchy for remote element in process 69977 (Error getting main window kAXErrorServerNotFound)
t = 1894.20s Check for interrupting elements affecting "自" Application
t = 1894.21s Wait for com.apple.springboard to idle
2021-01-20 06:45:52.247057+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
2021-01-20 06:45:52.449808+0800 ZiroomerProjectUITests-Runner[69824:15606712] [ZiroomerProjectUITests-Runner] findWriterForType:129: unsupported file format 'public.heic'
/usr/local/ziroom/auto_test_cache/apps/ZiroomerProject_develop/Pods/SwiftMonkey/SwiftMonkey/MonkeyXCTest.swift:68: error: -[ZiroomerProjectUITests.ZiroomerProjectUITests testMonkey] : Failed to synthesize event: Application for Target Application 'com.ziroom.ZiroomProject' is not foreground and does not allow background interaction.
t = 1894.55s Tear Down
Test Case '-[ZiroomerProjectUITests.ZiroomerProjectUITests testMonkey]' failed (1894.773 seconds).
Test Suite 'ZiroomerProjectUITests' failed at 2021-01-20 06:45:52.710.
Executed 1 test, with 1 failure (0 unexpected) in 1894.773 (1894.778) seconds
Test Suite 'ZiroomerProjectUITests.xctest' failed at 2021-01-20 06:45:52.718.
Executed 1 test, with 1 failure (0 unexpected) in 1894.773 (1894.787) seconds
Test Suite 'All tests' failed at 2021-01-20 06:45:52.723.
Executed 1 test, with 1 failure (0 unexpected) in 1894.773 (1894.794) seconds
2021-01-20 06:46:12.402 xcodebuild[25511:2994328] [MT] IDETestOperationsObserverDebug: 1911.710 elapsed -- Testing started completed.
2021-01-20 06:46:12.402 xcodebuild[25511:2994328] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2021-01-20 06:46:12.402 xcodebuild[25511:2994328] [MT] IDETestOperationsObserverDebug: 1911.710 sec, +1911.710 sec -- end
Test session results, code coverage, and logs:
/usr/local/ziroom/auto_test_cache/apps/TestResult/uitest
Failing tests:
ZiroomerProjectUITests:
ZiroomerProjectUITests.testMonkey()
The text was updated successfully, but these errors were encountered: