Skip to content

Commit 6cd94d0

Browse files
committed
Fixed countly logo path
1 parent de2e7a4 commit 6cd94d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui-tests/cypress/e2e/dashboard/dashboards/dashboards.cy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,16 @@ describe('Create New Custom Dashboard', () => {
116116
expect(buf.length).to.be.greaterThan(50000); // More than 50KB to ensure it's not empty
117117

118118
// Save the PDF to disk (optional)
119-
cy.writeFile('/fixtures/cypress/downloads/generated-report.pdf', buf);
119+
cy.writeFile('/cypress/downloads/generated-report.pdf', buf);
120120
});
121121
});
122122
});
123123

124124
// Verify PDF content
125125
cy.task("verifyPdf", {
126-
filePath: "/fixtures/cypress/downloads/generated-report.pdf",
126+
filePath: "/cypress/downloads/generated-report.pdf",
127127
options: {
128-
referenceLogoPath: "/testFiles/countly-logo.png",
128+
referenceLogoPath: "../../fixtures/testFiles/countly-logo.png",
129129
checkText: true
130130
}
131131
}).then((result) => {

0 commit comments

Comments
 (0)