# HG changeset patch # User Nicholas Jillings # Date 1432461101 -3600 # Node ID b260edc72d1c7c9f6c02030dc09d0ad1a7236fca # Parent a00af1797b08dbfcda263d6129fa276c450a47bb Bug #1239: Randomisation of page orders flag in tag correctly applied. diff -r a00af1797b08 -r b260edc72d1c 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);