Logo: Relish

  1. Sign in

Project: Sc-portal-bdd

Clear Phone history Label check

Background
Given
We are on the user login page
Scenarios
  • @one_device_no_line
verify that no lines exists for the user
When
We log in to the Self Care page with username and password
And
We are on the Phone Settings Page
Then
We verify that history section displays message on the main page
Examples: no line
username password message
"user1" "cisco" "There are no Phone Numbers available for this user."
Examples: third party phone
username password message
"user3" "cisco" "There are no devices which support this feature."
  • @multiple_devices_multiple_lines
history for All Phones should display a grid displaying only the lines for devices that support this feature
When
We log in to the Self Care page with username and password
And
We are on the Phone Settings Page
And
We should see all number_of_lines lines displayed in the history log table on the main page
Examples: one device with multiple lines
username password number_of_lines
"user2" "cisco" 5
"user2" "cisco" 6
  • @one_line_cancel
clear or check one line history label, cancel and verify the unchanges
When
We log in to the Self Care page with username and password
And
We are on the Phone Settings Page
And
We verify that history checkbox for line line_index is checkbox_old_state on the main page
And
We checkbox_new_state the checkbox for the history button for line line_index on the main page
And
We click the Cancel Button for log history modification on the main page
And
We refresh the page
Then
We verify that history checkbox for line line_index is checkbox_old_state on the main page
Examples: clear
username password line_index checkbox_old_state checkbox_new_state
"user2" "cisco" 0 "set" "clear"
"user2" "cisco" 2 "set" "clear"
Examples: set
username password line_index checkbox_old_state checkbox_new_state
"user2" "cisco" 1 "clear" "set"
"user2" "cisco" 3 "clear" "set"
  • @one_line_save
clear or check one line history label, save and verify the unchanges
When
We log in to the Self Care page with username and password
And
We are on the Phone Settings Page
And
We verify that history checkbox for line line_index is checkbox_old_state on the main page
And
We checkbox_new_state the checkbox for the history button for line line_index on the main page
And
We click the Save Button for log history modification on the main page
And
We refresh the page
Then
We verify that history checkbox for line line_index is checkbox_new_state on the main page
Examples: clear
username password line_index checkbox_old_state checkbox_new_state
"user2" "cisco" 0 "set" "clear"
"user2" "cisco" 2 "set" "clear"
Examples: set
username password line_index checkbox_old_state checkbox_new_state
"user2" "cisco" 1 "clear" "set"
"user2" "cisco" 3 "clear" "set"

Last published over 4 years ago by Chris.