Skip to content

Commit

Permalink
[Faculties] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Nov 7, 2024
1 parent e78f2d6 commit a1ecc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/Faculty_statistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe('Faculty overview', () => {
]
sections.forEach(section => {
cy.get(`[data-cy="Graph-${section}"]`).within(() => {
cy.get('[aria-label="View chart menu, Chart"]').click()
cy.get('[aria-label="View chart menu, Chart"]').click({ force: true })
cy.contains('li.highcharts-menu-item', 'Download XLS').click()
const downloadedFile = `oodikone_${section}_H50_${timestamp}.xls`
cy.readFile(path.join(downloadsFolder, downloadedFile))
Expand Down

0 comments on commit a1ecc12

Please sign in to comment.