tree: 2f25ffd51505d4dbcdfcd9dd4ef6e66a5870906f [path history] [tgz]
  1. AppExtensionTests.m
  2. BogusFontTextTest.m
  3. DarwinSystemFontTests.m
  4. golden_bogus_font_text_impeller_iPhone SE (3rd generation)_17.0_simulator.png
  5. golden_bogus_font_text_iPhone SE (3rd generation)_17.0_simulator.png
  6. golden_darwin_system_font_iPhone SE (3rd generation)_17.0_simulator.png
  7. golden_non_full_screen_flutter_view_platform_view_iPhone SE (3rd generation)_17.0_simulator.png
  8. golden_platform_view_clippath_iPhone SE (3rd generation)_17.0_simulator.png
  9. golden_platform_view_clippath_with_transform_iPhone SE (3rd generation)_17.0_simulator.png
  10. golden_platform_view_cliprect_after_moved_iPhone SE (3rd generation)_17.0_simulator.png
  11. golden_platform_view_cliprect_iPhone SE (3rd generation)_17.0_simulator.png
  12. golden_platform_view_cliprect_with_transform_iPhone SE (3rd generation)_17.0_simulator.png
  13. golden_platform_view_cliprrect_iPhone SE (3rd generation)_17.0_simulator.png
  14. golden_platform_view_cliprrect_with_transform_iPhone SE (3rd generation)_17.0_simulator.png
  15. golden_platform_view_iPhone SE (3rd generation)_17.0_simulator.png
  16. golden_platform_view_large_cliprrect_iPhone SE (3rd generation)_17.0_simulator.png
  17. golden_platform_view_large_cliprrect_with_transform_iPhone SE (3rd generation)_17.0_simulator.png
  18. golden_platform_view_multiple_background_foreground_iPhone SE (3rd generation)_17.0_simulator.png
  19. golden_platform_view_multiple_iPhone SE (3rd generation)_17.0_simulator.png
  20. golden_platform_view_opacity_iPhone SE (3rd generation)_17.0_simulator.png
  21. golden_platform_view_rotate_iPhone SE (3rd generation)_17.0_simulator.png
  22. golden_platform_view_transform_iPhone SE (3rd generation)_17.0_simulator.png
  23. golden_platform_view_with_negative_backdrop_filter_iPhone SE (3rd generation)_17.0_simulator.png
  24. golden_platform_view_with_other_backdrop_filter_iPhone SE (3rd generation)_17.0_simulator.png
  25. golden_spawn_engine_works_impeller_iPhone SE (3rd generation)_17.0_simulator.png
  26. golden_spawn_engine_works_iPhone SE (3rd generation)_17.0_simulator.png
  27. golden_two_platform_view_clip_path_iPhone SE (3rd generation)_17.0_simulator.png
  28. golden_two_platform_view_clip_rect_iPhone SE (3rd generation)_17.0_simulator.png
  29. golden_two_platform_view_clip_rrect_iPhone SE (3rd generation)_17.0_simulator.png
  30. golden_two_platform_views_with_other_backdrop_filter_iPhone SE (3rd generation)_17.0_simulator.png
  31. GoldenImage.h
  32. GoldenImage.m
  33. GoldenPlatformViewTests.h
  34. GoldenPlatformViewTests.m
  35. GoldenTestManager.h
  36. GoldenTestManager.m
  37. Info.plist
  38. iPadGestureTests.m
  39. LocalizationInitializationTest.m
  40. PlatformViewGestureRecognizerTests.m
  41. PlatformViewUITests.m
  42. README.md
  43. RenderingSelectionTest.m
  44. SpawnEngineTest.m
  45. StatusBarTest.h
  46. StatusBarTest.m
  47. UnobstructedPlatformViewTests.m
testing/scenario_app/ios/Scenarios/ScenariosUITests/README.md

Golden UI Tests

This folder contains golden image tests. It renders UI (for instance, a platform view) and does a screen shot comparison against a known good configuration.

The screen shots are named golden_[scenario name]_[MODEL], with _simulator appended for simulators. The model numbers for physical devices correspond to the hw.model sys call, and will represent the model numbers. Simulator names are taken from the environment.

New devices require running the test on the device, gathering the attachment from the test result and verifying it manually. Then adding an appropriately named file to this folder.

If the test is attempted on a new device, the log will contain a message indicating the file name it expected to find. The test will continue and fail, but will contain an attachment with the expected screen shot. If the screen shot looks good, add it with the correct name to the project and run the test again - it should pass this time.