Repository navigation
Commit c3da8c9
ci(zbugs-swift): warm the app up before the screenshot tests
Every failure of testListPagesPastTheFirst200 since Nov 3 was the first
UI test after the simulator booted: a back tap lost, a launch query or a
screenshot request timed out. Its launch took 9-79 s on CI against 3-12 s
for testScreens on the warm simulator, which hasn't failed, and XCTest
answers queries on the app's main thread, which the first sync keeps busy.
The job now launches the app once after the boot and waits until it has
taken in its first sync and gone quiet, then the tests run on the same
build. On iPhone the test also taps back again if the filters haven't
appeared and the back button is still there.
Amp-Thread-ID: https://ampcode.com/threads/T-fbae32eb-2a12-4ebe-a716-b1b0bf7c246f
Co-authored-by: tmm <tmm@tmm.dev>1 parent e4f199a commit c3da8c9
2 files changed
Lines changed: 57 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
142 | 185 | | |
143 | 186 | | |
144 | 187 | | |
145 | 188 | | |
146 | 189 | | |
147 | 190 | | |
148 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
149 | 196 | | |
150 | 197 | | |
151 | 198 | | |
| 199 | + | |
152 | 200 | | |
153 | 201 | | |
154 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | 123 | | |
127 | 124 | | |
128 | 125 | | |
| |||
131 | 128 | | |
132 | 129 | | |
133 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | 141 | | |
| |||
0 commit comments