Skip to content

Commit

Permalink
[Course statistics] Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rikurauhala committed Oct 4, 2024
1 parent e930314 commit 7aedb82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/Course_statistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,16 +249,16 @@ describe('Course Statistics tests', () => {
cy.contains('td', /^TKT10004/).click()
cy.contains('Search for courses').should('not.exist')

cy.contains('AYTKT10004 Avoin yo: Tietokantojen perusteet')
cy.contains('A581328 Avoin yo: Tietokantojen perusteet')
cy.contains('TKT10004 Tietokantojen perusteet')
cy.contains('BSCS2001 Introduction to Databases')
cy.contains('581328 Tietokantojen perusteet')
cy.cs('providerCheckboxUniversity').should('have.class', 'checked').click()
cy.cs('providerCheckboxOpenUni').should('have.class', 'checked').click()
cy.contains('TKT10004 Tietokantojen perusteet')
cy.contains('AYTKT10004 Avoin yo: Tietokantojen perusteet')
cy.contains('BSCS2001 Introduction to Databases')
cy.contains('581328 Tietokantojen perusteet')
cy.contains('A581328 Avoin yo: Tietokantojen perusteet')
})

it('Searching course by name displays right courses, 10 credit courses', () => {
Expand Down

0 comments on commit 7aedb82

Please sign in to comment.