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_NOTIFICATIONS_PAGE}. */ public class AdminNotificationsPageE2ETest extends BaseE2ETestCase { private NotificationAttributes[] notifications = new NotificationAttributes[2]; @Override protected void prepareTestData() { testData = loadDataBundle("/AdminNotificationsPageE2ETest.json"); removeAndRestoreDataBundle(testData); notifications[0] = testData.notifications.get("notification1"); notifications[1] = testData.notifications.get("notification2"); } @Test @Override public void testAll() { ______TS("verify loaded data"); AppUrl url = createFrontendUrl(Const.WebPageURIs.ADMIN_NOTIFICATIONS_PAGE); AdminNotificationsPage notificationsPage = loginAdminToPage(url, AdminNotificationsPage.class); // Only validates that the notifications are present in the notifications table instead of checking every row // This is because the page will display all notifications in the database, which is not predictable notificationsPage.verifyNotificationsTableRow(notifications[0]); notificationsPage.verifyNotificationsTableRow(notifications[1]); verifyPresentInDatabase(notifications[0]); verifyPresentInDatabase(notifications[1]); ______TS("add new notification"); int currentYear = LocalDate.now().getYear(); NotificationAttributes newNotification = NotificationAttributes .builder("placeholder-notif-id") .withStartTime(LocalDateTime.of(currentYear + 8, 1, 2, 12, 0).atZone(ZoneId.of("UTC")).toInstant()) .withEndTime(LocalDateTime.of(currentYear + 8, 1, 3, 12, 0).atZone(ZoneId.of("UTC")).toInstant()) .withStyle(NotificationStyle.SUCCESS) .withTargetUser(NotificationTargetUser.GENERAL) .withTitle("E2E test notification 1") .withMessage("<p>E2E test notification message</p>") .build(); notificationsPage.addNotification(newNotification); notificationsPage.verifyStatusMessage("Notification created successfully."); // Replace placeholder ID with actual ID of created notification notificationsPage.sortNotificationsTableByDescendingCreateTime(); String newestNotificationId = notificationsPage.getFirstRowNotificationId(); newNotification.setNotificationId(newestNotificationId); // Checks that notification is in the database first // so that newNotification is updated with the created time before checking table row verifyPresentInDatabase(newNotification); notificationsPage.verifyNotificationsTableRow(newNotification); ______TS("edit notification"); newNotification.setStartTime(LocalDateTime.of(currentYear + 7, 2, 2, 12, 0).atZone(ZoneId.of("UTC")).toInstant()); newNotification.setEndTime(LocalDateTime.of(currentYear + 7, 2, 3, 12, 0).atZone(ZoneId.of("UTC")).toInstant()); newNotification.setStyle(NotificationStyle.DANGER); newNotification.setTargetUser(NotificationTargetUser.INSTRUCTOR); newNotification.setTitle("Edited E2E test notification 1"); newNotification.setMessage("<p>Edited E2E test notification message</p>"); notific - Assistant
E2E