Skip to content

Commit

Permalink
[Students] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Oct 21, 2024
1 parent 17ef03d commit 18df30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/Students.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 18df30c

Please sign in to comment.