diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/qa.reporting.template.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/qa.reporting.template.js index 92147099e25e5d6774f637deb33a05717a8b7f95..ef9bf1b7262488ba15a568a5accb18576781824b 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/qa.reporting.template.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Workflow/qa.reporting.template.js @@ -147,11 +147,11 @@ const QaReportingTemplate = { </tbody> </table> <br/> - <strong>Performance of the system:</strong> - <strong>Data recording:</strong> + <p><strong>Performance of the system:</strong><br><br></p> + <p><strong>Data recording:</strong><br><br></p> ${missingStationsContent?missingStationsContent:""} - <strong>Data processing:</strong> - <strong>Archiving:</strong> + <p><strong>Data processing:</strong><br><br></p> + <p><strong>Archiving:</strong><br><br></p> <strong style='display:inline'>Remarks:</strong><p style= "display:inline; position: relative"> Please analyse the validation plots at <a href="https://proxy.lofar.eu/inspect/HTML/">https://proxy.lofar.eu/inspect/HTML/</a> within 24 hours after this notification and submit your findings using the form at <a href="/schedulingunit/${id}/workflow">${window.location.origin}/schedulingunit/${id}/workflow </a>. diff --git a/SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js b/SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js index 05b3b4c8acd5e5deb66102015df83004f722495a..0ca3813ba236c6d92399f6ed97e4f7373f2537c1 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/tests/report.project.test.js @@ -97,7 +97,10 @@ describe('Project Report Render With Contents', () => { await waitFor(() => { expect(component.container.querySelector('.p-autocomplete-loader')).toBeNull(); }, { timeout: 5000 }); - + await waitFor(() => { + const anchorElement = component.container.querySelector(".report-calendar"); + expect(anchorElement).toBeInTheDocument(); + }); const componentSnapshotAfterCsv = component.asFragment(); expect(componentSnapshotAfterCsv).toMatchSnapshot("After CSV Generation"); await waitFor(() => { @@ -107,10 +110,10 @@ describe('Project Report Render With Contents', () => { cinstance.clearAll(); await waitFor(() => { - expect(component.container.querySelector('.p-autocomplete-loader')).toBeNull(); + expect(component.container.querySelector('.p-icon-spin')).toBeNull(); }, { timeout: 5000 }); - + const componentSnapshotAfterClear = component.asFragment(); expect(componentSnapshotAfterClear).toMatchSnapshot("After Clear ALl");