diff --git a/scenarioo-docu-generation-example/src/test/java/org/scenarioo/uitest/dummy/application/steps/DummyApplicationStepDataFactory.java b/scenarioo-docu-generation-example/src/test/java/org/scenarioo/uitest/dummy/application/steps/DummyApplicationStepDataFactory.java index c91e4efc4..6db848cc5 100644 --- a/scenarioo-docu-generation-example/src/test/java/org/scenarioo/uitest/dummy/application/steps/DummyApplicationStepDataFactory.java +++ b/scenarioo-docu-generation-example/src/test/java/org/scenarioo/uitest/dummy/application/steps/DummyApplicationStepDataFactory.java @@ -167,7 +167,7 @@ private Map createElementRegions(final String stepName) { elementRegions.put("linkWithText=42 - The answer to everything", new ScreenRegion(472, 244, 410, 20)); elementRegions.put("linkWithText=Espanol", new ScreenRegion(30, 755, 50, 14)); elementRegions.put("linkWithText=dummy-next-link-not-visible-on-screenshot", - new ScreenRegion(750, 544, 120, 28)); + new ScreenRegion(1050, 844, 120, 28)); // Later here: some of this elements might be placed different for some special steps dependent on the passed // stepName diff --git a/scenarioo-docu-generation-example/src/test/java/org/scenarioo/uitest/example/testcases/TechnicalCornerCasesUITest.java b/scenarioo-docu-generation-example/src/test/java/org/scenarioo/uitest/example/testcases/TechnicalCornerCasesUITest.java index 82415a621..2d08216cc 100644 --- a/scenarioo-docu-generation-example/src/test/java/org/scenarioo/uitest/example/testcases/TechnicalCornerCasesUITest.java +++ b/scenarioo-docu-generation-example/src/test/java/org/scenarioo/uitest/example/testcases/TechnicalCornerCasesUITest.java @@ -80,8 +80,8 @@ private ScreenRegion region(final int colIndex, final int rowIndex, final int sp int rowHeight = 32; int margin = 64; return new ScreenRegion( - colIndex * (colWidth + margin) + margin, - rowIndex * (rowHeight + margin) + margin, + colIndex * (colWidth + margin) + margin + 300, + rowIndex * (rowHeight + margin) + margin + 300, spanCols * (colWidth + margin) - margin, spanRows * rowHeight); }