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

Exception if image size do not match to baseline #8

Closed
pashidlos opened this issue May 21, 2020 · 0 comments
Closed

Exception if image size do not match to baseline #8

pashidlos opened this issue May 21, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@pashidlos
Copy link
Member

Steps:

  1. Create test with baseline accepted
  2. Upload image with another dimension

Exception:

api_1        | [Nest] 17   - 05/21/2020, 9:13:40 PM   [ExceptionsHandler] Image sizes do not match. +226762ms
api_1        | Error: Image sizes do not match.
api_1        |     at Object.pixelmatch [as default] (/node_modules/pixelmatch/index.js:21:15)
api_1        |     at TestRunsService.create (/dist/test-runs/test-runs.service.js:117:60)
api_1        |     at TestService.postTestRun (/dist/test/test.service.js:29:52)
api_1        |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
api_1        |     at async /node_modules/@nestjs/core/router/router-execution-context.js:45:28
api_1        |     at async /node_modules/@nestjs/core/router/router-proxy.js:8:17
@pashidlos pashidlos added the bug Something isn't working label May 21, 2020
@pashidlos pashidlos self-assigned this May 25, 2020
@pashidlos pashidlos added this to the v2.0.1 milestone May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant