From 06856e2caf9f3a1e8c5225636f6e7c51091becc7 Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Tue, 20 Feb 2024 16:00:30 +0000 Subject: [PATCH] Profile page nav tests --- .../Features/PageNavigation.feature | 26 ++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/TransactionMobile.Maui.UiTests/Features/PageNavigation.feature b/TransactionMobile.Maui.UiTests/Features/PageNavigation.feature index 8973c4e36..a6eb7e828 100644 --- a/TransactionMobile.Maui.UiTests/Features/PageNavigation.feature +++ b/TransactionMobile.Maui.UiTests/Features/PageNavigation.feature @@ -55,6 +55,30 @@ Scenario: Back Button from Reports Page Screen When I click on the back button Then the Merchant Home Page is displayed +# Profile Page Back Button Tests +@PRNavTest +Scenario: Back Button from Profile Page Screen + Given I am on the Login Screen + And the application is in training mode + When I enter 'user1' as the Email Address + And I enter '123456' as the Password + And I tap on Login + Then the Merchant Home Page is displayed + When I tap on Profile + Then the My Profile Page is displayed + When I tap on the Addresses button + Then the Address List Page is displayed + When I click on the back button + Then the My Profile Page is displayed + When I tap on the Contacts button + Then the Contact List Page is displayed + When I click on the back button + Then the My Profile Page is displayed + When I tap on the Account Info button + Then the Account Info Page is displayed + When I click on the back button + Then the My Profile Page is displayed + When I click on the back button + Then the Merchant Home Page is displayed -# My Account Page Back Button Tests # Support Page Back Button Tests