diff --git a/unittests/test_macros.py b/unittests/test_macros.py
index 2a6b9c9fcc94fa99af681a256bfc20f9eaa6dcab..4e27e42f8d1e633cf97fa142e2c0ec8aa013af05 100644
--- a/unittests/test_macros.py
+++ b/unittests/test_macros.py
@@ -410,6 +410,10 @@ SimulationData:
     #     f.write(yaml.dump(cfood))
 
 
+@pytest.mark.xfail(
+    reason="Wait until this feature is implemented"
+    "https://gitlab.com/caosdb/caosdb-crawler/-/issues/21."
+)
 def test_def_replacements():
     """Test that parameters in macro definitions can be used
     for defining subsequent parameters.