We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd1ab1d commit 826d82aCopy full SHA for 826d82a
index.html
@@ -176,7 +176,7 @@
176
</div>
177
178
<div class="drop-zones">
179
- <div class="drop-zone" id="drop1">
+ <div class="drop-zone" id="drop1" data-testid="testid_drop1">
180
Drop Zone
181
182
js/main.js
@@ -162,6 +162,10 @@ function forParentSubmit() {
162
163
var ch3 = document.getElementById("form_checked3");
164
ch3.className = "unchecked3";
165
+
166
+ // testid_drop1 -> newDropTestId
167
+ var dropZone = document.getElementById("drop1");
168
+ dropZone.setAttribute("data-testid", "newDropTestId");
169
}
170
171
function waitSubmit() {
0 commit comments