# HG changeset patch # User Nicholas Jillings # Date 1432461101 -3600 # Node ID 057ca7c450554ee1c9ccdc8adb49e7f2bbe6543c # Parent eefec889c62d31f27f2e26936db1adeb5b9d475d Bug #1239: Randomisation of page orders flag in tag correctly applied. diff -r eefec889c62d -r 057ca7c45055 ape.js --- a/ape.js Sun May 24 10:03:36 2015 +0100 +++ b/ape.js Sun May 24 10:51:41 2015 +0100 @@ -43,10 +43,15 @@ // New check if we need to randomise the test order var randomise = xmlSetup[0].attributes['randomiseOrder']; if (randomise != undefined) { - randomise = Boolean(randomise.value); + if (randomise.value === 'true'){ + randomise = true; + } else { + randomise = false; + } } else { randomise = false; } + if (randomise) { testXMLSetups = randomiseOrder(testXMLSetups);