@@ -164,13 +164,16 @@ Item {
164164 return stack.currentPage;
165165 }
166166
167− function goToPage(name, skipSim, skipLocation) {
167+ function goToPage(name, skipSim, skipLocation, skipReporting) {
168168 if (skipSim === undefined) {
169169 skipSim = false;
170170 }
171171 if (skipLocation === undefined) {
172172 skipLocation = false;
173173 }
174+ if (skipReporting === undefined) {
175+ skipReporting = false;
176+ }
174177
175178 var page = waitForPage("languagePage");
176179 if (name === page.objectName) return page;
@@ -197,9 +200,11 @@ Item {
197200 tap(findChild(page, "forwardButton"));
198201 }
199202
200− page = waitForPage("reportingPage");
201− if (name === page.objectName) return page;
202− tap(findChild(page, "forwardButton"));
203+ if (!skipReporting) {
204+ page = waitForPage("reportingPage");
205+ if (name === page.objectName) return page;
206+ tap(findChild(page, "forwardButton"));
207+ }
203208
204209 page = waitForPage("finishedPage");
205210 if (name === page.objectName) return page;
@@ -343,8 +348,6 @@ Item {
343348 tap(findChild(page, "forwardButton"));
344349 page = waitForPage("locationPage");
345350 tap(findChild(page, "forwardButton"));
346− page = waitForPage("reportingPage");
347− tap(findChild(page, "forwardButton"));
348351 page = waitForPage("finishedPage");
349352 tap(findChild(page, "forwardButton"));
350353
@@ -396,8 +399,6 @@ Item {
396399 tap(findChild(page, "forwardButton"));
397400 page = waitForPage("locationPage");
398401 tap(findChild(page, "forwardButton"));
399− page = waitForPage("reportingPage");
400− tap(findChild(page, "forwardButton"));
401402 page = waitForPage("finishedPage");
402403 tap(findChild(page, "forwardButton"));
403404
@@ -408,7 +409,7 @@ Item {
408409 }
409410
410411 function test_passwdSwipe() {
411− goToPage(null);
412+ goToPage(null, false, false, true);
412413
413414 tryCompare(setSecuritySpy, "count", 1);
414415 compare(setSecuritySpy.signalArguments[0][0], "");
@@ -418,12 +419,12 @@ Item {
418419
419420 function test_locationSkipNoPath() {
420421 AccountsService.hereLicensePath = "";
421− goToPage("reportingPage", false, true);
422+ goToPage("finishedPage", false, true, true);
422423 }
423424
424425 function test_locationSkipNoFiles() {
425426 AccountsService.hereLicensePath = Qt.resolvedUrl("nolicenses");
426− goToPage("reportingPage", false, true);
427+ goToPage("finishedPage", false, true, true);
427428 }
428429
429430 function test_locationWaitOnPath() {
@@ -440,7 +441,7 @@ Item {
440441 compare(stack.currentPage.skipValid, false);
441442
442443 AccountsService.hereLicensePath = "";
443− waitForPage("reportingPage");
444+ waitForPage("finishedPage", false, false, true);
444445 }
445446
446447 function test_locationGpsOnly() {