diff --git a/VAMobile/e2e/tests/PushNotifications.e2e.ts b/VAMobile/e2e/tests/PushNotifications.e2e.ts index 54ad8fb912..a7014ea8bf 100644 --- a/VAMobile/e2e/tests/PushNotifications.e2e.ts +++ b/VAMobile/e2e/tests/PushNotifications.e2e.ts @@ -1,3 +1,10 @@ +/* +Description: +Detox script that follows the notifications test cases found in testRail (VA Mobile App > Active/Organized Cases > Home > Profile > Settings > Notifications) +More information about detox and mocking user notifications can be found here: https://wix.github.io/Detox/docs/guide/mocking-user-notifications +When to update: +This script should be updated whenever any new notification types are added to the app and or if anything changes on how the notification is displayed in the app. +*/ import { by, device, element, expect, waitFor } from 'detox' import { backButton, loginToDemoMode } from './utils' @@ -18,6 +25,7 @@ const mockNotification = { }, } +//This script is only run on iOS because there are additional requirements that can't be met for Android describe(':ios: Push Notifications', () => { it('dead state: should navigate to appropriate screen when launching', async () => { await device.launchApp({