fix: broken cypress tests due to new internship list view
Some checks failed
Cypress E2E Tests / cypress-tests (push) Has been cancelled

This commit is contained in:
2025-12-04 12:46:10 +01:00
parent b9be4a2e6c
commit 43b056f412
3 changed files with 9 additions and 21 deletions

View File

@@ -12,6 +12,7 @@ describe('Admin Student Document Downloads', () => {
cy.contains("Praxe").click()
cy.url().should('include', '/dashboard/admin/internships')
cy.wait(2000)
})
it('should be able to generate and download the default proof', () => {
@@ -24,13 +25,12 @@ describe('Admin Student Document Downloads', () => {
})
cy.get('@randomRow').within(() => {
cy.get('td').contains('Editovať').click()
cy.get('td').get('.internship-edit-btn').click()
})
})
cy.url().should('include', '/dashboard/admin/internships/edit/')
const downloadsFolder = Cypress.config("downloadsFolder");
cy.contains('Stiahnuť originálnu zmluvu').click()
cy.wait(2000)
})