Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
@background @login @toolbar @profile @shared @transactions @shared
Feature: HardwarePageNavigation

@PRTest
Scenario: Back Button from Login Screen
Given I am on the Login Screen
When I click on the device back button
Then The application closes

# Home Page Back Button Tests
@PRTest
Scenario: Device Back Button from Home Page Screen - user wants to log out
Given I am on the Login Screen
And the application is in training mode
When I enter 'merchantuser@testmerchant1.co.uk' 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 click on the device back button
Then A message is displayed confirming I want to log out
When I click yes
Then the Login Page is displayed

@PRTest
Scenario: Device Back Button from Home Page Screen - user does not want to log out
Given I am on the Login Screen
And the application is in training mode
When I enter 'merchantuser@testmerchant1.co.uk' 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 click on the device back button
Then A message is displayed confirming I want to log out
When I click no
Then the Merchant Home Page is displayed

# Transaction Page Back Button Tests
@PRTest
Scenario: Back Button from Transaction Page Screen
Given I am on the Login Screen
And the application is in training mode
When I enter 'merchantuser@testmerchant1.co.uk' 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 Transactions
Then the Transaction Page is displayed
When I click on the device back button
Then the Merchant Home Page is displayed

@PRTest
Scenario: Back Button from Transaction Select Operator Screen
Given I am on the Login Screen
And the application is in training mode
When I enter 'merchantuser@testmerchant1.co.uk' 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 Transactions
Then the Transaction Page is displayed
When I tap on the Mobile Topup button
Then the Transaction Select Mobile Topup Operator Page is displayed
When I click on the device back button
Then the Transaction Page is displayed

# Reports Page Back Button Tests
# My Account Page Back Button Tests
# Support Page Back Button Tests
Loading