Cases 85–93 · Mobile
Case 85 — Complete a mobile text field
When I tap the "Username" field
And I fill [$.testdata.mobile.username] in the focused username field
And I hide the keyboard
Then the "Username" field should contain [$.testdata.mobile.username]
And the "Continue" button should be visibleName keyboard handling when it can cover the next control.
Case 86 — Set a mobile switch
When I set the "Push Notifications" switch to On
Then the "Push Notifications" switch should show OnCase 87 — Handle a mobile permission dialog
When the system notification permission dialog appears
And I tap "Allow"
Then the permission dialog should close
And the app should show the notification settings screenName the system dialog and exact choice. Do not dismiss unspecified popups.
Case 88 — Select from a mobile picker
When I open the "Country" picker
And I select "United Kingdom"
Then the "Country" field should show "United Kingdom"Case 89 — Swipe to a mobile destination
When I swipe left on the onboarding carousel until the "Get Started" page is visible
Then the "Get Started" button should be visibleThe destination, not the number of swipes, is the primary condition.
Case 90 — Long-press a mobile item
When I long-press the conversation named [$.testdata.mobile.conversation]
Then the conversation context menu should appear
And it should contain "Archive"Case 91 — Drag a mobile item
When I drag the task "Review Contract" from "To Do" to "In Progress"
Then the task should appear under "In Progress"
And it should no longer appear under "To Do"Case 92 — Switch between native app and webview
When I tap "Sign in with Salesforce" in the native app
And I wait until the Salesforce sign-in webview appears
And I complete sign-in in the webview
Then I should return to the native app
And the app home screen should show the signed-in userCase 93 — Open a push notification
When I wait up to 30 seconds for a notification containing [$.testdata.mobile.message]
And I tap that notification
Then the app should open the "Conversation" screen
And the screen should contain [$.testdata.mobile.message]