Please analyze the following code file and determine whether it belongs…
- User
Assistant: User: Please analyze the following code file and determine whether it belongs to any of the provided modules based on the listed module descriptions. Note that the provided list of modules may not be exhaustive, and some files may not belong to any of the modules. If the code belongs to a module, Only output the module name, without any explanation or additional information; otherwise, return 'None' if it does not belong to any module.
Modules : { "UI": "Handles the front-end user interface, consisting of HTML, CSS, and JavaScript files generated by the Angular framework. It processes user requests and interacts with the server using AJAX for data retrieval and client-side interactions.""Test Driver": "Facilitates automated regression testing and handles transmission of test data in JSON format. It performs Java testing using TestNG and JavaScript unit-testing with Jest. It also sets up a simulated web server for servlet-level tests and automates end-to-end testing using Selenium Java." "Logic": "Manages the business logic of TEAMMATES, including handling relationships between entities, managing transactions, input value sanitization, access control rights, and interfacing with GAE-provided or third-party APIs." "Storage": "Performs CRUD operations on data entities, validation of data, and abstraction of GQL queries, hiding the complexities of datastore from the Logic component." "Common": "Contains utility classes, custom exceptions, and data transfer objects used across the entire application for easy consolidation and transfer of structured data." "E2E": "Handles end-to-end testing and load & performance testing, providing helpers, abstractions of browser pages, and test cases for E2E tests and L&P tests." "Client": "Contains scripts for administrative tasks, such as migrating data to a new schema and calculating statistics. This module connects directly to the application back-end for administrative purposes." }
Code: package teammates.e2e.cases; /** * SUT: {@link Const.WebPageURIs#ADMIN_SESSIONS_PAGE}. */ public class AdminSessionsPageE2ETest extends BaseE2ETestCase { private FeedbackSessionAttributes openFeedbackSession; private FeedbackSessionAttributes awaitingFeedbackSession; private FeedbackSessionAttributes futureFeedbackSession; private Instant instant3DaysAgo = TimeHelper.getInstantDaysOffsetFromNow(-3); private Instant instantTomorrow = TimeHelper.getInstantDaysOffsetFromNow(1); private Instant instant3DaysLater = TimeHelper.getInstantDaysOffsetFromNow(3); private Instant instantNextWeek = TimeHelper.getInstantDaysOffsetFromNow(7); private Instant instant10DaysLater = TimeHelper.getInstantDaysOffsetFromNow(10); private Instant instant14DaysLater = TimeHelper.getInstantDaysOffsetFromNow(14); private Instant instant24DaysLater = TimeHelper.getInstantDaysOffsetFromNow(24); private String formatDateTime(Instant instant, String timeZone) { return DateTimeFormatter .ofPattern("EEE, dd MMM yyyy, hh:mm a") .format(instant.atZone(ZoneId.of(timeZone))) .replaceFirst(" AM$", " am") .replaceFirst(" PM$", " pm"); } @Override protected void prepareTestData() { testData = loadDataBundle("/AdminSessionsPageE2ETest.json"); // To guarantee that there will always be some "ongoing sessions" listed, // the test data is injected with date/time values relative to the time where the test takes place openFeedbackSession = testData.feedbackSessions.get("session1InCourse1"); openFeedbackSession.setStartTime(instant3DaysAgo); openFeedbackSession.setCreatedTime(instant3DaysAgo); openFeedbackSession.setSessionVisibleFromTime(instant3DaysAgo); openFeedbackSession.setEndTime(instant3DaysLater); openFeedbackSession.setResultsVisibleFromTime(instant3DaysLater); awaitingFeedbackSession = testData.feedbackSessions.get("session2InCourse1"); awaitingFeedbackSession.setStartTime(instantTomorrow); awaitingFeedbackSession.setCreatedTime(instant3DaysAgo); awaitingFeedbackSession.setSessionVisibleFromTime(instantTomorrow); awaitingFeedbackSession.setEndTime(instant3DaysLater); awaitingFeedbackSession.setResultsVisibleFromTime(instant3DaysLater); futureFeedbackSession = testData.feedbackSessions.get("session3InCourse1"); futureFeedbackSession.setStartTime(instant10DaysLater); futureFeedbackSession.setCreatedTime(instant3DaysAgo); futureFeedbackSession.setSessionVisibleFromTime(instant10DaysLater); futureFeedbackSession.setEndTime(instant24DaysLater); futureFeedbackSession.setResultsVisibleFromTime(instant24DaysLater); removeAndRestoreDataBundle(testData); } @Test @Override public void testAll() { ______TS("verify loaded data"); AppUrl sessionsUrl = createFrontendUrl(Const.WebPageURIs.ADMIN_SESSIONS_PAGE); AdminSessionsPage sessionsPage = loginAdminToPage(sessionsUrl, AdminSessionsPage.class); String tableTimezone = sessionsPage.getSessionsTableTimezone(); String[] openSessionCells = { "[Opened]", String.formAssistant:
- Assistant
E2E