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

Error: Cannot find module '../visual-plugin/node_modules/intern/runner' #14

Open
ManuBoca92 opened this issue Sep 18, 2018 · 0 comments

Comments

@ManuBoca92
Copy link

ManuBoca92 commented Sep 18, 2018

Hello Everyone,

I am very new to Intern and I found it through sauce labs. I am trying to perform a visual regression test on different browsers and I tried to follow the steps as described but I encountered error.

First error is when I run "intern run -w" I get the:

Error: Cannot find module '../visual-plugin/node_modules/intern/runner' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:191:16) at bootstrap_node.js:612:3

The second on is when I try to change resolution to (1024x768) the "npm test config=@example" I get:

`× chrome 69.0.3497.100 on Mac OS X - example tests - simple visual test (3.345s)
Error: PNGs are different sizes. Expected (1280x960); Actual (2048x1326).
at <src/comparators/PngJsImageComparator.ts:48:11>
at Test.test <src/test.ts:22:4>
at <src/lib/Test.ts:260:47>

× chrome 69.0.3497.100 on Mac OS X - example tests - custom visual test (2.543s)
Error: PNGs are different sizes. Expected (1280x732); Actual (2048x1308).
at <src/comparators/PngJsImageComparator.ts:48:11>
at Test.custom visual test [as test] <tests/example/tests.ts:25:4>
at <src/lib/Test.ts:260:47>

TOTAL: tested 1 platforms, 0 passed, 2 failed
npm ERR! Test failed. See above for more details.`

Please HELP, thanks.

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

1 participant