diff --git a/engine/src/flutter/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.m b/engine/src/flutter/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.m index a08519b46b4..a3658e337fc 100644 --- a/engine/src/flutter/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.m +++ b/engine/src/flutter/testing/scenario_app/ios/Scenarios/ScenariosUITests/GoldenPlatformViewTests.m @@ -49,11 +49,13 @@ static const NSInteger kSecondsToWaitForPlatformView = 30; XCUIScreenshot* screenshot = [[XCUIScreen mainScreen] screenshot]; XCTAttachment* attachment = [XCTAttachment attachmentWithScreenshot:screenshot]; + attachment.name = @"new_golden"; attachment.lifetime = XCTAttachmentLifetimeKeepAlways; [self addAttachment:attachment]; if (golden.image) { XCTAttachment* goldenAttachment = [XCTAttachment attachmentWithImage:golden.image]; + attachment.name = @"current_golden"; goldenAttachment.lifetime = XCTAttachmentLifetimeKeepAlways; [self addAttachment:goldenAttachment]; } else {