Skip to content

Commit

Permalink
CU/9949-rachael-detox-add-comments-to-push-notifications (#10356)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbontrager authored Dec 11, 2024
1 parent b1f575b commit 8a926a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions VAMobile/e2e/tests/PushNotifications.e2e.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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({
Expand Down

0 comments on commit 8a926a0

Please sign in to comment.