Skip to content

Commit a2b2eca

Browse files
committed
Fix the initialization of the first page for multiple testing rounds.
1 parent b47e4b8 commit a2b2eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/driver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function nextPage(task, loadError) {
206206
if (isLastPage(task)) {
207207
if (++task.round < task.rounds) {
208208
log(' Round ' + (1 + task.round) + '\n');
209-
task.pageNum = 1;
209+
task.pageNum = task.firstPage || 1;
210210
} else {
211211
++currentTaskIdx;
212212
nextTask();

0 commit comments

Comments
 (0)