mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 16:02:15 +00:00
Merge commit '20a499baa5' into mobile-rearch
This commit is contained in:
@@ -35,6 +35,10 @@ export async function assertHostedIosScreenshotParity({
|
||||
const result = {
|
||||
...measurements,
|
||||
landmarkDelta,
|
||||
// Why: a delta alone cannot say which side moved, and the two landmarks come
|
||||
// from different sources (native accessibility frame vs hosted DOM rect).
|
||||
landmarks:
|
||||
nativeLandmark && hostedLandmark ? { native: nativeLandmark, hosted: hostedLandmark } : null,
|
||||
budgets: {
|
||||
changedPixelRatio: MAX_CHANGED_PIXEL_RATIO,
|
||||
meanChannelDifference: MAX_MEAN_CHANNEL_DIFFERENCE,
|
||||
|
||||
Reference in New Issue
Block a user