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 committed Oct 2, 2023
1 parent c5526cd commit 703fbfa
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 @@ -625,7 +625,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 703fbfa

Please sign in to comment.