From 96314af23f2c47f64f1955cf449e865d43b6791c Mon Sep 17 00:00:00 2001
From: Fanna Lautenbach <lautenbach@astron.nl>
Date: Thu, 12 Jan 2023 15:51:15 +0100
Subject: [PATCH] add primary-key to test-id

---
 ldvspec/lofardata/templates/lofardata/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldvspec/lofardata/templates/lofardata/index.html b/ldvspec/lofardata/templates/lofardata/index.html
index b2595af0..2148f831 100644
--- a/ldvspec/lofardata/templates/lofardata/index.html
+++ b/ldvspec/lofardata/templates/lofardata/index.html
@@ -138,7 +138,7 @@
                                             <span class="icon icon--color-inherit icon--play"></span>
                                         </a>
                                     {% else %}
-                                        <button type="submit" class="button--icon-button" test-id="submit-to-atdb" title="Submit to ATDB">
+                                        <button type="submit" class="button--icon-button" test-id="submit-to-atdb-{{ specification.pk }}" title="Submit to ATDB">
                                             <span class="icon icon--play"></span>
                                         </button>
                                     {% endif %}
-- 
GitLab