From 8a926a0cac5f296b9146180979b5ee6b8d6403fa Mon Sep 17 00:00:00 2001 From: Rachael Bontrager Date: Wed, 11 Dec 2024 12:54:14 -0600 Subject: [PATCH] CU/9949-rachael-detox-add-comments-to-push-notifications (#10356) --- VAMobile/e2e/tests/PushNotifications.e2e.ts | 8 ++++++++ 1 file changed, 8 insertions(+) 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({