From a1d6dd09f61cb295be13b75d54d1090a8a878150 Mon Sep 17 00:00:00 2001 From: tfhuhtal Date: Tue, 1 Oct 2024 17:02:22 +0300 Subject: [PATCH] overview test done --- .../FacultyMonitoringOverview/MonitoringOverview.js | 2 +- cypress/integration/trackingpage.spec.js | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/client/components/FacultyMonitoringView/FacultyMonitoringOverview/MonitoringOverview.js b/client/components/FacultyMonitoringView/FacultyMonitoringOverview/MonitoringOverview.js index c5051b61..3805c498 100644 --- a/client/components/FacultyMonitoringView/FacultyMonitoringOverview/MonitoringOverview.js +++ b/client/components/FacultyMonitoringView/FacultyMonitoringOverview/MonitoringOverview.js @@ -48,7 +48,7 @@ const Square = ({ color, setQuestionModal, answerObject, chevron = null }) => { const { backgroundColor, hover } = colors[color] || colors.gray return ( -
+
{ cy.get('[data-cy=send-form]').click() cy.contains('01.01.2000').should('exist') + + cy.visit(`/faculty-monitoring`) + cy.contains('Development Area 1:').click() + + cy.get(`[data-cy=square-${testFacultyCode}-1]`).click() + cy.contains('01.01.2000').should('exist') }) }) \ No newline at end of file