Skip to content

Commit

Permalink
[TestRun] Fix tags when use reloadRowFor on multiple executions
Browse files Browse the repository at this point in the history
  • Loading branch information
somenewacc authored and atodorov committed Nov 29, 2023
1 parent 0faffd9 commit 49f1e87
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tcms/testruns/static/testruns/js/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,11 @@ function renderAdditionalInformation (testRunId, execution) {
casesInPlan = Object.keys(casesInPlan).map(id => parseInt(id))

for (const testCase of testCases) {
const row = $(`.test-execution-case-${testCase.id}`)
let rowSelector = `.test-execution-case-${testCase.id}`
if (execution) {
rowSelector += `.test-execution-${execution.id}`
}
const row = $(rowSelector)

// when loading this page filtered by status some TCs do not exist
// but we don't know about it b/c the above queries are overzealous
Expand Down

0 comments on commit 49f1e87

Please sign in to comment.