VisualCeption
VisualCeption copied to clipboard
Visual regression tests for Codeception
The first part of the PR improves generating screenshots for all devices with pixel ratio > 1. The lines https://github.com/koehnlein/VisualCeption/commit/c15c2944fd39e10fcb848a647eae6ad148fc096f#diff-23be3accec9cccd7a4b66e668a0a62586dec7eb7f4d2fc2b47419a46c6f2feb1R508-R513 include the pixel ratio when calculating the image cropping. Before...
In c5b02cd043e15326fb7e856c39b8fa02d1abed37 the composer package was renamed from "codeception/visualception" into "codeception/module-visualception". This pull requests adds the old name to "replace" section in composer.json. With this change, composer knows that the...
This PR fixes a couple issues with the `createScreenshot()` method: - If the element position is outside the window dimensions, and we are not setting the `fullScreenShot` config to `true`,...
On the README it says: > VisualCeption uses the WebDriver module for making the screenshots. As a consequence we are not able to take screenshots via google chrome as the...
Hi, The licence file suggests MIT, but composer suggest Apache-2 Can these be synced to the preferred licence ?
Since the version 1.0.3 the module is environment dependant. Before I used to have one visual reference `homepage.png` for all the environments. Now the module create one file by environment....
VisualCeption::createScreenshot() doesn't take into account window.devicePixelRatio and incorrectly calculates $coords, in particular when the screenshot is limited to a specific element.
I have faced the issue when the cookie banner (follow GDPR rule) display. All the elements move to top a little (10 - 2x pixel). How can I deal with...
Hello, today I ran into an odd problem using VisualCeption. When I wrote all my tests everything was working just fine, all images were generated and so on. However, latter...
Hello, In the the readme file it is write : "**elementId** It is possible to only compare a special div container. The element id can be passed. _You can use...