Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playwright - /test-runs Error #303

Open
Enes5519 opened this issue Aug 28, 2024 · 2 comments
Open

Playwright - /test-runs Error #303

Enes5519 opened this issue Aug 28, 2024 · 2 comments

Comments

@Enes5519
Copy link

I'm running vrt tests with Playwright but I get this error most of the time.

Error: {
	"path": "/test-runs",
	"name": "TypeError",
	"message": "Cannot read property 'data' of undefined",
	"exception": {},
	"stack": "TypeError: Cannot read property 'data' of undefined\n    at PixelmatchService.getDiff (/app/dist/src/compare/libs/pixelmatch/pixelmatch.service.js:40:40)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:95:5)\n    at async TestRunsService.calculateDiff (/app/dist/src/test-runs/test-runs.service.js:138:28)\n    at async TestRunsService.postTestRun (/app/dist/src/test-runs/test-runs.service.js:66:33)"
}

    at /builds/.../node_modules/@visual-regression-tracker/sdk-js/dist/visualRegressionTracker.js:116:27
    at /builds/.../node_modules/@visual-regression-tracker/sdk-js/dist/visualRegressionTracker.js:8:71
    at __awaiter (/builds/.../node_modules/@visual-regression-tracker/sdk-js/dist/visualRegressionTracker.js:4:12)
    at handleException (/builds/.../node_modules/@visual-regression-tracker/sdk-js/dist/visualRegressionTracker.js:103:16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Enes5519 and others