From 18df30c09a9ac6f977cbede2a5c98df4669cdf3d Mon Sep 17 00:00:00 2001 From: Valtteri Kantanen Date: Mon, 21 Oct 2024 18:32:31 +0300 Subject: [PATCH] [Students] Fix tests --- cypress/e2e/Students.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/Students.js b/cypress/e2e/Students.js index 3e9a0543fa..307f6da2cc 100644 --- a/cypress/e2e/Students.js +++ b/cypress/e2e/Students.js @@ -249,7 +249,7 @@ describe('Students tests', () => { it('When a study plan is selected, the time frame of the credit graph is updated', () => { cy.clock(new Date('2024-08-30').getTime(), ['Date']) cy.visit('/students/550789') - cy.contains('.highcharts-container text', '2 Aug 2020') + cy.contains('.highcharts-container text', '1 Aug 2020') cy.contains('.highcharts-container text', '30 Aug 2024') cy.contains('table tbody tr', 'Kulttuurien tutkimuksen kandiohjelma (01.08.2020–30.06.2023)').within(() => { cy.get('td').eq(0).click()