Skip to content

Commit

Permalink
[Course statistics] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Jan 10, 2025
1 parent 34448d2 commit ee02d00
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 @@ -238,7 +238,7 @@ describe('Course Statistics tests', () => {
cy.contains('581328 Tietokantojen perusteet')
cy.contains('A581328 Avoin yo: Tietokantojen perusteet')
cy.get('.right').click()
cy.contains('No results')
cy.contains('Please enter at least 5 characters for course name or 2 characters for course code.')
})

it('"Select all search results" button is not showing unless "Select multiple courses" toggle is on', () => {
Expand Down Expand Up @@ -283,7 +283,7 @@ describe('Course Statistics tests', () => {
cy.contains('BSCS1003 Data Structures and Algorithms')
cy.contains('58131 Tietorakenteet')
cy.get('.right').click()
cy.contains('No results')
cy.contains('Please enter at least 5 characters for course name or 2 characters for course code.')
searchByCourseName('tietorakenteet ja algoritmit')
cy.contains('td', 'TKT20001, BSCS1003, 58131, AYTKT20001').click()

Expand Down

0 comments on commit ee02d00

Please sign in to comment.