diff --git a/CHANGELOG.md b/CHANGELOG.md index de12b24cb..7e4e799af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,18 +25,28 @@ Table of Contents ### Breaking Changes -* The default of how screenshots are created has changed from full page to viewport only. These two options are now available to set globally via properties and per test individually via `RecheckWebOptions`. - ### Bug Fixes ### New Features -* Screenshot creation can now be configured via the `RecheckOptions` or globally via `de.retest.recheck.web.screenshot.provider`. - ### Improvements * `AutocheckingRecheckDriver` and thus the `RecheckDriver` now implement the `RecheckLifecycle`, meaning that they can be used with the JUnit extensions. +-------------------------------------------------------------------------------- + + +[1.7.0] (2019-11-21) +-------------------- + +### Breaking Changes + +* The default of how screenshots are created has changed from full page to viewport only. These two options are now available to set globally via properties and per test individually via `RecheckWebOptions`. + +### New Features + +* Screenshot creation can now be configured via the `RecheckOptions` or globally via `de.retest.recheck.web.screenshot.provider`. + -------------------------------------------------------------------------------- diff --git a/README.md b/README.md index a086381ff..3318c7d6d 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ You can open the `report` using [***review***](https://retest.de/review/) or the ### recheck-web seems to be slow when executing. What can I do about that? -recheck-web itself is not slow. But screenshot creation is. We are currently working on that. In the next release, per default the screenshot will be created without scrolling. And you will have an option to turn screenshots off completely. Lucky enough, we only use the screenshot for documentation, not for the actual comparison. +recheck-web itself is not slow. But screenshot creation is. Lucky enough, we only use the screenshot for documentation, not for the actual comparison. Per default, we only create a screenshot of the given viewport and you can also disable the screenshot creation completely. For more information, please refer to our [documentation](https://docs.retest.de/recheck-web/usage/configuration/). ### What does the recheck warning mean? diff --git a/pom.xml b/pom.xml index 5418f1344..31868fbae 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ de.retest recheck-web - 1.7.0-SNAPSHOT + 1.8.0-SNAPSHOT jar recheck - web @@ -78,7 +78,7 @@ de.retest recheck - 1.6.0 + 1.7.0 @@ -152,14 +152,14 @@ de.retest recheck-junit-jupiter-extension - 1.6.0 + 1.7.0 test de.retest recheck-junit-4-extension - 1.6.0 + 1.7.0 test diff --git a/src/test/java/de/retest/web/it/WikipediaIT.java b/src/test/java/de/retest/web/it/WikipediaIT.java index 96bbd0e72..7250c5632 100644 --- a/src/test/java/de/retest/web/it/WikipediaIT.java +++ b/src/test/java/de/retest/web/it/WikipediaIT.java @@ -28,7 +28,6 @@ void setUp() throws Exception { @Test void myWikipediaTest() throws Exception { - re.startTest(); // Switch to "expected" subfolder to restore original page. driver.get( PageFactory.toPageUrlString( "wikipedia/actual/wikipedia-characterization-test.html" ) ); re.check( driver, "characterization-testing-page" ); diff --git a/src/test/resources/retest/recheck/de.retest.web.it.WikipediaIT/myWikipediaTest.characterization-testing-page.recheck/retest.xml b/src/test/resources/retest/recheck/de.retest.web.it.WikipediaIT/myWikipediaTest.characterization-testing-page.recheck/retest.xml index b2f9cbd0b..89ec4591a 100644 --- a/src/test/resources/retest/recheck/de.retest.web.it.WikipediaIT/myWikipediaTest.characterization-testing-page.recheck/retest.xml +++ b/src/test/resources/retest/recheck/de.retest.web.it.WikipediaIT/myWikipediaTest.characterization-testing-page.recheck/retest.xml @@ -1,5 +1,5 @@ - + @@ -3219,7 +3219,7 @@ 21 103 - toclevel-1 tocsection-1 + toclevel-1 tocsection-2 0 22 @@ -3250,13 +3250,13 @@ 209 313 15 - 71 + 86 0 3 -6 - -32 + -17 html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/div[2]/ul[1]/li[2]/a[1] 1 @@ -3295,7 +3295,7 @@ href - #Overview + #Advantages outline-color @@ -3311,14 +3311,14 @@ - + 224 310 21 - 56 + 71 toctext @@ -3329,7 +3329,7 @@ html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/div[2]/ul[1]/li[2]/a[1]/span[2] 2 - Overview + Advantages span @@ -3346,7 +3346,7 @@ - + @@ -3360,11 +3360,11 @@ 0 -3 6 - -56 + -71 html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/div[2]/ul[1]/li[2]/a[1]/span[1] 1 - 1 + 2 span @@ -3645,7 +3645,7 @@ 21 103 - toclevel-1 tocsection-2 + toclevel-1 tocsection-1 0 0 @@ -3676,13 +3676,13 @@ 209 291 15 - 86 + 71 0 3 -6 - -17 + -32 html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/div[2]/ul[1]/li[1]/a[1] 1 @@ -3721,7 +3721,7 @@ href - #Advantages + #Overview outline-color @@ -3737,14 +3737,14 @@ - + 224 288 21 - 71 + 56 toctext @@ -3755,7 +3755,7 @@ html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/div[2]/ul[1]/li[1]/a[1]/span[2] 2 - Advantages + Overview span @@ -3772,7 +3772,7 @@ - + @@ -3786,11 +3786,11 @@ 0 -3 6 - -71 + -56 html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/div[2]/ul[1]/li[1]/a[1]/span[1] 1 - 2 + 1 span @@ -6084,6 +6084,36 @@ + + + + + 314 + 207 + 16 + 40 + + + 113 + 25 + -50 + -920 + + html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/p[1]/b[3] + 3 + actual + b + + + + + + shown + true + + + + @@ -6121,7 +6151,7 @@ - 757 + 768 181 14 12 @@ -6129,7 +6159,7 @@ reference cite_ref-1 - 556 + 567 -1 -52 -948 @@ -6171,7 +6201,7 @@ - 757 + 768 181 14 12 @@ -6423,7 +6453,7 @@ href - broken link + https://en.wikipedia.org/wiki/Computer_programming outline-color @@ -6510,24 +6540,24 @@ - + - 607 + 381 185 16 - 150 + 136 - 406 + 180 3 -50 - -810 + -824 html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/p[1]/b[1] 1 - Golden Master Testing + characterization test b @@ -6540,24 +6570,24 @@ - + - 314 - 207 + 618 + 185 16 - 40 + 150 - 113 - 25 + 417 + 3 -50 - -920 + -810 html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/p[1]/b[2] 2 - actual + Golden Master Testing b @@ -6719,36 +6749,6 @@ - - - - - 381 - 185 - 16 - 125 - - - 180 - 3 - -50 - -835 - - html[1]/body[1]/div[3]/div[3]/div[4]/div[1]/p[1]/em[1] - 1 - characterization test - em - - - - - - shown - true - - - - @@ -11770,7 +11770,7 @@ html[1]/body[1]/div[3]/h1[1] 1 - Difference testing + Characterization test h1 diff --git a/src/test/resources/retest/recheck/de.retest.web.it.WikipediaIT/myWikipediaTest.characterization-testing-page.recheck/screenshot/html.png b/src/test/resources/retest/recheck/de.retest.web.it.WikipediaIT/myWikipediaTest.characterization-testing-page.recheck/screenshot/html.png index fd550e941..3064818ae 100644 Binary files a/src/test/resources/retest/recheck/de.retest.web.it.WikipediaIT/myWikipediaTest.characterization-testing-page.recheck/screenshot/html.png and b/src/test/resources/retest/recheck/de.retest.web.it.WikipediaIT/myWikipediaTest.characterization-testing-page.recheck/screenshot/html.png differ