Commit 1326e99
authored
* feat: add new package @wdio/image-comparison-core
Started
- migrating code
- optimize types
- remove executor and replace by wdio methods
* feat: update getMobileViewPortPosition
- fix tests
* chore: replaced takeBase64Screenshot implementation
- updated tests
* chore: fixed afterScreenshot
- updated tests
* chore: updated beforeScreenshot
- fixed and added UT's
* chore: clean saveWebScreen from methods
- fix UT's
* chore: update checkScreen
* chore: fix checkWebScreen
* chore: fix saveElement and checkElement
* chore: add full/tabbable page
* chore: remove methods
* chore: adjust the visual service to use the new core
* chore: migrated the service to the new module
- fixed UTs and imports
* chore: add browserInstance to the commands
* chore: added the browserinstance back and fix UTs
* fix UT's
* fix tests
* chore: cleanup methods
* chore: remove webdriver-image-comparison
* chore: multiple fixes
- fix BiDi check
- fix determining iOS currentOffsets
- fix calculating remaining content for mobile fullpage screenshots
- add extra debug logging when the fullpage scroll becomes negative
- updated baselines
* chore: fix UT's
* chore: optimize types
* test: add tests vor checkAppElement
* chore: make private package public
* test: add checkAppScreen tests
* tesT: add new tests
* chore: refactor mocks
* chore: simplify checks
* test: add checkScreen tests
* test: add checkTabbablePage
* test: add checkWebElement
fix some styling
* chore: revert Sauce tests
* test: add checkWebScreen
* test: add checkWebScreen tests
- some linting shit
* chore: update eslint
* test: add saveAppElement
* chore: fix folders
* chore: fix some tests
* test: add saveAppScreen
* test: add saveElement
* tesT: add saveFullPageScreen test
* test: add saveScreen tests
* test: add saveTabbablePage tests
* test: add saveWebElement tests
* test: add saveWebScreen tests
* chore: create BEFORE_SCREENSHOT_MOCK
* chore: optimize mocks
- saveWebElement
- saveAppScreen
- saveAppElement
- saveWebScreen
- saveTabbablePage
- saveElement
- mocks file
* test: add drawTabbableOnCanvas tests
* test: add more tests drawTabbableOnCanvas
* test: add more tests for drawTabbableOnCanvas
* test: update drawTabbableOnCanvas
- add comments for whats's not properly testable
* chore: added todo's
* test: add scrollElementIntoView tests
- fix screendimentions test
* test: add scrollToPosition tests
* test: add createCompareReport tests
* test: add processDiffPixels
* test: add makeCroppedBase64Image tests
* test: add executeImageCompare tests
* test: add makeFullPageBase64Image tests
* test: add takeResizedBase64Screenshot tests
* fix: fix object comparison and add proper logging for takeBase64ElementScreenshot
- add new UT's for takeBase64ElementScreenshot part 1
* test: add more tests for takeBase64ElementScreenshot
* fix: fix images tests
* chore: use snapshots
* test: add takeWebElementScreenshot tests
* test: add logHiddenRemovedError
* test: add getDesktopFullPageScreenshotsData
* test: add getAndroidChromeDriverFullPageScreenshotsData
* test: add getMobileFullPageNativeWebScreenshotsData
* chore: some small fixes
* Refactor code (#987)
* feat: refactor getBase64FullPageScreenshotsData router
- update ut's
* chore: update tests
* chore: refactor beforeOptions
- update saveFullPageScreen and tests
* feat: adjust saveWebScreen with createBeforeScreenshotOptions
* feat: adjust saveWebElement for createBeforeScreenshotOptions
* chore: optimise saveWebElement
* chore: restructure interface
* chore: refactor afterScreenshot options
- implemented for saveWebScreen
* chore: refactor for saveWebElement
* chore: refactor saveFullPageScreen
* chore: refactor saveAppScreen
* chore: refactor saveAppElement
* chore: refactor saveWebScreen
* chore: refactor screenshot interfaces
* chore: and the rest
* chore: use snapshots for tests
* fix: fallback for elementscreeshots
was broken due to incorrect calculation, also fixed UT's
* chore: fix local desktop run
* chore: fix some comments
* chore: code optimisation
- afterscreenshot for readability
* chore: optimisations
- make takeElementScreenshot more readable
- fix UT for afterscreenshot
- add check on calling logger for afterscreenshot
* chore: then also commit the afterscreenshot stuff
* chore: refactor a CommonCheckVariables
- adjust files
- create UT's
* chore: refactor to use buildFolderOptions
- adjust methods
- add and adjust UTs
* chore: refactor methods options
- added buildBaseExecuteCompareOptions
- added and adjusted UT's
* chore: refactor checkAppElement and checkAppScreen
* chore: refactored images and report code
- updated interfaces
- made code more dry and maintainable
- updated UTs
* chore: fix linting
* chore: fix build
* Chore: remove comments
* chore: update deps
* chore: add release notes
1 parent 9e0f788 commit 1326e99
File tree
293 files changed
+36696
-10449
lines changed- .changeset
- packages
- image-comparison-core
- assets/ios
- src
- __snapshots__
- clientSideScripts
- __snapshots__
- commands
- __snapshots__
- helpers
- __snapshots__
- methods
- __snapshots__
- mocks
- resemble
- ocr-service
- visual-reporter
- visual-service
- src
- storybook
- tests
- __snapshots__
- storybook
- webdriver-image-comparison
- src
- clientSideScripts
- commands
- helpers
- __snapshots__
- methods
- __snapshots__
- mocks
- scripts
- tests
- configs
- lambdaTestBaseline
- desktop_chrome
- galaxy_tab_s8
- iphone_13_mini
- iphone_13_pro
- iphone_14_pro
- iphone_15_pro_max
- pixel_4
- pixel_9_pro
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
293 files changed
+36696
-10449
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 54 | | |
60 | | - | |
61 | | - | |
| 55 | + | |
| 56 | + | |
62 | 57 | | |
63 | 58 | | |
64 | 59 | | |
65 | | - | |
| 60 | + | |
66 | 61 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
82 | 77 | | |
83 | | - | |
84 | | - | |
| 78 | + | |
| 79 | + | |
85 | 80 | | |
86 | | - | |
| 81 | + | |
87 | 82 | | |
88 | 83 | | |
89 | | - | |
90 | | - | |
| 84 | + | |
| 85 | + | |
91 | 86 | | |
92 | 87 | | |
93 | 88 | | |
94 | 89 | | |
95 | | - | |
96 | | - | |
| 90 | + | |
| 91 | + | |
97 | 92 | | |
98 | 93 | | |
99 | 94 | | |
100 | | - | |
| 95 | + | |
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments