Source:
<code>private void testContent() { <START> AppPage.logout(browser); <END> ______TS("unreg student"); submitPage = loginToStudentFeedbackSubmitPage(testData.students.get("DropOut"), "Open Session"); submitPage.verifyHtml("/unregisteredStudentFeedbackSubmitPageOpen.html"); ______TS("Awaiting session"); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Awaiting Session"); submitPage.verifyHtml("/studentFeedbackSubmitPageAwaiting.html"); ______TS("Open session"); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Open Session"); submitPage.verifyHtmlMainContent("/studentFeedbackSubmitPageOpen.html"); ______TS("Grace period session"); FeedbackSessionAttributes fs = BackDoor.getFeedbackSession("SFSubmitUiT.CS2104", "Grace Period Session"); Calendar endDate = Calendar.getInstance(TimeZone.getTimeZone("UTC")); endDate.add(Calendar.MINUTE, -1); fs.gracePeriod = 10; fs.endTime = endDate.getTime(); BackDoor.editFeedbackSession(fs); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Grace Period Session"); submitPage.verifyHtmlMainContent("/studentFeedbackSubmitPageGracePeriod.html"); ______TS("Closed session"); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Closed Session"); submitPage.verifyHtmlMainContent("/studentFeedbackSubmitPageClosed.html"); ______TS("Empty session"); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Empty Session"); submitPage.verifyHtmlMainContent("/studentFeedbackSubmitPageEmpty.html"); ______TS("Not yet visible session"); FeedbackSessionNotVisiblePage fsNotVisiblePage; fsNotVisiblePage = loginToStudentFeedbackSubmitPageFeedbackSessionNotVisible("Alice", "Not Yet Visible Session"); fsNotVisiblePage.verifyHtmlMainContent("/studentFeedbackSubmitPageNotYetVisible.html"); }</code><technical_language>I put this line **______TS("unreg student");** this is needed for test specifically. If moves test, this needs move</technical_language>

Target:
private void testContent() { ______TS("unreg student"); AppPage.logout(browser); submitPage = loginToStudentFeedbackSubmitPage(testData.students.get("DropOut"), "Open Session"); submitPage.verifyHtml("/unregisteredStudentFeedbackSubmitPageOpen.html"); ______TS("Awaiting session"); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Awaiting Session"); submitPage.verifyHtml("/studentFeedbackSubmitPageAwaiting.html"); ______TS("Open session"); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Open Session"); submitPage.verifyHtmlMainContent("/studentFeedbackSubmitPageOpen.html"); ______TS("Grace period session"); FeedbackSessionAttributes fs = BackDoor.getFeedbackSession("SFSubmitUiT.CS2104", "Grace Period Session"); Calendar endDate = Calendar.getInstance(TimeZone.getTimeZone("UTC")); endDate.add(Calendar.MINUTE, -1); fs.gracePeriod = 10; fs.endTime = endDate.getTime(); BackDoor.editFeedbackSession(fs); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Grace Period Session"); submitPage.verifyHtmlMainContent("/studentFeedbackSubmitPageGracePeriod.html"); ______TS("Closed session"); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Closed Session"); submitPage.verifyHtmlMainContent("/studentFeedbackSubmitPageClosed.html"); ______TS("Empty session"); submitPage = loginToStudentFeedbackSubmitPage("Alice", "Empty Session"); submitPage.verifyHtmlMainContent("/studentFeedbackSubmitPageEmpty.html"); ______TS("Not yet visible session"); FeedbackSessionNotVisiblePage fsNotVisiblePage; fsNotVisiblePage = loginToStudentFeedbackSubmitPageFeedbackSessionNotVisible("Alice", "Not Yet Visible Session"); fsNotVisiblePage.verifyHtmlMainContent("/studentFeedbackSubmitPageNotYetVisible.html"); }