diff --git a/www/admin/test.php b/www/admin/test.php
index 4e2d5ec9edd1ed2c2d41df242aeec100671ed8c5..29905e6d1ad0951ff4d3658e93b7ff22fef989bc 100644
--- a/www/admin/test.php
+++ b/www/admin/test.php
@@ -3,6 +3,9 @@
 /**
  * This file defines a webpage that can be used to test interaction between this SP and a selected IdP.
  *
+ * Note: This page is deprecated in favor of the autotest module. It will be
+ * removed in a future version of simpleSAMLphp.
+ *
  * It has several query parameters:
  * - 'op': The operation.
  *   - 'login' Initialize login.