From 2b6928a9d8498be2a40dc0b0d6caa7ee59c52af7 Mon Sep 17 00:00:00 2001 From: asankov Date: Sat, 30 May 2020 02:32:08 +0300 Subject: [PATCH] Render test execution notes and text in test run page --- tcms/testruns/static/testruns/js/get.js | 2 ++ tcms/testruns/templates/testruns/get.html | 14 +++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/tcms/testruns/static/testruns/js/get.js b/tcms/testruns/static/testruns/js/get.js index fc945d63e3..13d80d518d 100644 --- a/tcms/testruns/static/testruns/js/get.js +++ b/tcms/testruns/static/testruns/js/get.js @@ -120,6 +120,8 @@ function renderAdditionalInformation(testExecutions, testExecutionCaseIds) { const listGroupItem = $(`.test-execution-${testExecution.id}`) listGroupItem.find('.test-execution-priority').html(testCase.priority) listGroupItem.find('.test-execution-category').html(testCase.category) + listGroupItem.find('.test-execution-text').html(testCase.text) + listGroupItem.find('.test-execution-notes').append(testCase.notes) const isAutomatedElement = listGroupItem.find('.test-execution-automated') const isAutomatedIcon = testCase.is_automated ? 'fa-cog' : 'fa-thumbs-up' diff --git a/tcms/testruns/templates/testruns/get.html b/tcms/testruns/templates/testruns/get.html index 1e0b4bc992..e0564e906a 100644 --- a/tcms/testruns/templates/testruns/get.html +++ b/tcms/testruns/templates/testruns/get.html @@ -171,7 +171,19 @@