(context: WebSmokeContext)
| 183 | } |
| 184 | |
| 185 | async function assertWebScreenshot(context: WebSmokeContext): Promise<void> { |
| 186 | await assertCommandData( |
| 187 | context, |
| 188 | 'capture screenshot artifact', |
| 189 | ['screenshot', context.screenshotPath, '--full', '--no-stabilize'], |
| 190 | { path: context.screenshotPath }, |
| 191 | ); |
| 192 | assertPngFile(context.screenshotPath); |
| 193 | } |
| 194 | |
| 195 | async function assertCommandData( |
| 196 | context: WebSmokeContext, |
no test coverage detected