diff --git a/games/devtest/mods/testformspec/formspec.lua b/games/devtest/mods/testformspec/formspec.lua
index c2074e6e0..f6450e97a 100644
--- a/games/devtest/mods/testformspec/formspec.lua
+++ b/games/devtest/mods/testformspec/formspec.lua
@@ -468,6 +468,43 @@ mouse control = true]
background9[0,0;0,0;testformspec_bg_9slice.png;true;4,6]
background[1,1;0,0;testformspec_bg.png;true]
]],
+
+ -- Tooltip
+ [[
+ formspec_version[7]
+ size[12,13]
+ label[1,0.5;Hover a red box for a tooltip.]
+
+ box[1,1;1,1;#ff000080]
+ tooltip[1,1;1,1;Normal tooltip]
+
+ box[1,3;1,1;#ff000080]
+ box[2.4,3.4;0.2,0.2;#ffffff80]
+ supertip[1,3;1,1;2.5,3.5;5;supertip_static;Simple supertip (static)
+This one should always appear at the tiny white square.]
+ box[1,5;1,1;#ff000080]
+ supertip[1,5;1,1;5;supertip_dynamic;Simple supertip (dynamic)
+This should appear at the cursor.]
+
+ box[1,7;1,1;#ff000080]
+ supertip[1,7;1,1;5;supertip_dynamic_complex;]]..minetest.formspec_escape([[Complex supertip (dynamic)
+
+