diff --git a/tests/ExACT_alignContentPage.js b/tests/ExACT_alignContentPage.js index 8f1bd54..c7073a6 100644 --- a/tests/ExACT_alignContentPage.js +++ b/tests/ExACT_alignContentPage.js @@ -708,15 +708,15 @@ const steps = [ } }, - //Subject: Mathematics (2012) label + //Subject: Mathematics (2011) label { - description: 'Validate Subject Mathematics (2012) label', + description: 'Validate Subject Mathematics (2011) label', action: async () => { const elementText = await driver.findElement(By.css('.show > li:nth-child(3) .checkbox')).getText(); - if (elementText !== 'Mathematics (2012)') { - throw new Error(`Expected: Subject: "Mathematics (2012)" checkbox label; Actual: "${elementText}"`); + if (elementText !== 'Mathematics (2011)') { + throw new Error(`Expected: Subject: "Mathematics (2011)" checkbox label; Actual: "${elementText}"`); } - console.log('Passed: Subject Mathematics (2012) checkbox label matched as expected'); + console.log('Passed: Subject Mathematics (2011) checkbox label matched as expected'); } },