diff --git a/Assets/Tests/Editor/UIElementAnnotatorCollectTests.cs b/Assets/Tests/Editor/UIElementAnnotatorCollectTests.cs
index be0e642510..f4d507d6e5 100644
--- a/Assets/Tests/Editor/UIElementAnnotatorCollectTests.cs
+++ b/Assets/Tests/Editor/UIElementAnnotatorCollectTests.cs
@@ -89,6 +89,26 @@ public void CollectInteractiveElements_WithEventHandlerScripts_ClassifiesThem()
Assert.That(typesByPath[root + "PointerDown"], Is.EqualTo("Button"));
}
+ ///
+ /// Verifies uGUI elements, both selectables and handler scripts, are tagged as coming from uGUI.
+ ///
+ [Test]
+ public void CollectInteractiveElements_WithUguiElements_TagsThemAsUgui()
+ {
+ Assume.That(EventSystem.current, Is.Null);
+ Transform canvas = CreateCanvas("UiSystem", RenderMode.ScreenSpaceOverlay, true, null);
+ CreateUiChild