We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f82e66 commit 622f43eCopy full SHA for 622f43e
e2e/specs/clientPrint.cy.js
@@ -14,9 +14,11 @@ describe('Client print test', () => {
14
cy.get('button:contains("PDF herunterladen (Layout #2)")').click()
15
16
const downloadsFolder = Cypress.config('downloadsFolder')
17
- cy.readFile(path.join(downloadsFolder, 'Pfila-2023.pdf'), {
+ const filePath = path.join(downloadsFolder, 'Pfila-2023.pdf')
18
+ cy.readFile(filePath, {
19
timeout: 30000,
20
})
21
+ cy.getPdfProperties(filePath).its('numPages').should('eq', 18)
22
cy.moveDownloads()
23
24
0 commit comments