Skip to content

Commit

Permalink
[Students] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Jun 24, 2024
1 parent e607d34 commit 66ee9b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cypress/e2e/Students.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ describe('Students tests', () => {
it('Can jump to population page', () => {
cy.get('.prompt').type(student.studentnumber)
cy.contains('td a', student.studentnumber).click()
cy.get('i.level.up.alternate.icon').eq(0).click()
cy.contains('.ui.table', 'Completed').within(() => {
cy.get('i.level.up.alternate.icon').click()
})
cy.contains('Tietojenkäsittelytieteen kandiohjelma')
cy.contains('class size')
})
Expand Down

0 comments on commit 66ee9b8

Please sign in to comment.