@@ -157,13 +157,16 @@ Item {
157157 return stack.currentPage;
158158 }
159159
160− function goToPage(name, skipSim, skipLocation) {
160+ function goToPage(name, skipSim, skipLocation, skipReporting) {
161161 if (skipSim === undefined) {
162162 skipSim = false;
163163 }
164164 if (skipLocation === undefined) {
165165 skipLocation = false;
166166 }
167+ if (skipReporting === undefined) {
168+ skipReporting = false;
169+ }
167170
168171 var page = waitForPage("languagePage");
169172 if (name === page.objectName) return page;
@@ -190,9 +193,11 @@ Item {
190193 tap(findChild(page, "forwardButton"));
191194 }
192195
193− page = waitForPage("reportingPage");
194− if (name === page.objectName) return page;
195− tap(findChild(page, "forwardButton"));
196+ if (!skipReporting) {
197+ page = waitForPage("reportingPage");
198+ if (name === page.objectName) return page;
199+ tap(findChild(page, "forwardButton"));
200+ }
196201
197202 page = waitForPage("finishedPage");
198203 if (name === page.objectName) return page;
@@ -336,8 +341,6 @@ Item {
336341 tap(findChild(page, "forwardButton"));
337342 page = waitForPage("locationPage");
338343 tap(findChild(page, "forwardButton"));
339− page = waitForPage("reportingPage");
340− tap(findChild(page, "forwardButton"));
341344 page = waitForPage("finishedPage");
342345 tap(findChild(page, "forwardButton"));
343346
@@ -389,8 +392,6 @@ Item {
389392 tap(findChild(page, "forwardButton"));
390393 page = waitForPage("locationPage");
391394 tap(findChild(page, "forwardButton"));
392− page = waitForPage("reportingPage");
393− tap(findChild(page, "forwardButton"));
394395 page = waitForPage("finishedPage");
395396 tap(findChild(page, "forwardButton"));
396397
@@ -401,7 +402,7 @@ Item {
401402 }
402403
403404 function test_passwdSwipe() {
404− goToPage(null);
405+ goToPage(null, false, false, true);
405406
406407 tryCompare(setSecuritySpy, "count", 1);
407408 compare(setSecuritySpy.signalArguments[0][0], "");
@@ -411,12 +412,12 @@ Item {
411412
412413 function test_locationSkipNoPath() {
413414 AccountsService.hereLicensePath = "";
414− goToPage("reportingPage", false, true);
415+ goToPage("finishedPage", false, true, true);
415416 }
416417
417418 function test_locationSkipNoFiles() {
418419 AccountsService.hereLicensePath = Qt.resolvedUrl("nolicenses");
419− goToPage("reportingPage", false, true);
420+ goToPage("finishedPage", false, true, true);
420421 }
421422
422423 function test_locationWaitOnPath() {
@@ -433,7 +434,7 @@ Item {
433434 compare(stack.currentPage.skipValid, false);
434435
435436 AccountsService.hereLicensePath = "";
436− waitForPage("reportingPage");
437+ waitForPage("finishedPage", false, false, true);
437438 }
438439
439440 function test_locationGpsOnly() {