Source:
<code>private void testContent() throws Exception { ______TS("Awaiting session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Awaiting Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Awaiting Session", fq.getId()); <START> submitPage.verifyHtmlMainContent("/instructorFeedbackQuestionSubmitPageAwaiting.html"); <END> ______TS("Open session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Open Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Open Session", fq.getId()); submitPage.verifyHtmlMainContent("/instructorFeedbackQuestionSubmitPageOpen.html"); ______TS("Grace period session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Grace Period Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Grace Period Session", fq.getId()); submitPage.verifyHtmlMainContent("/instructorFeedbackQuestionSubmitPageGracePeriod.html"); ______TS("Closed) session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Closed Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Closed Session", fq.getId()); submitPage.verifyHtmlMainContent("/instructorFeedbackQuestionSubmitPageClosed.html"); ______TS("Private session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Private Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Private Session", fq.getId()); submitPage.verifyHtmlMainContent("/instructorFeedbackQuestionSubmitPagePrivate.html"); }</code><technical_language>I current convention is do full page verification for "content" tests, partial verifications in other test cases</technical_language>

Target:
private void testContent() throws Exception { ______TS("Awaiting session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Awaiting Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Awaiting Session", fq.getId()); submitPage.verifyHtml("/instructorFeedbackQuestionSubmitPageAwaiting.html"); ______TS("Open session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Open Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Open Session", fq.getId()); submitPage.verifyHtml("/instructorFeedbackQuestionSubmitPageOpen.html"); ______TS("Grace period session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Grace Period Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Grace Period Session", fq.getId()); submitPage.verifyHtml("/instructorFeedbackQuestionSubmitPageGracePeriod.html"); ______TS("Closed) session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Closed Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Closed Session", fq.getId()); submitPage.verifyHtml("/instructorFeedbackQuestionSubmitPageClosed.html"); ______TS("Private session"); fq = BackDoor.getFeedbackQuestion("IFQSubmitUiT.CS2104", "Private Session", 1); submitPage = loginToInstructorFeedbackQuestionSubmitPage("IFQSubmitUiT.instr", "Private Session", fq.getId()); submitPage.verifyHtml("/instructorFeedbackQuestionSubmitPagePrivate.html"); }