Logo: Relish

  1. Sign in

Project: Sc-portal-bdd

Set Phone Number Label

Background
Given
We are on the user login page
Scenarios
  • @one_device_save
Change one phone label, save and verify the changes
When
We log in to the Self Care page with username and password
And
We are on the Phone Settings Page
And
We select a phone with phone_index from the View dropdown
And
We edit and save the new label label in Phone Number Label for line line_index
Then
We should see the new label label in Phone Number Label for phone with phone_index and line line_index
Examples: one device with multiple lines
username password phone_index line_index label
"user2" "cisco" 2 0 "tamu"
"user2" "cisco" 2 1 "tamu1"
"user2" "cisco" 2 2 "tamu2"
  • @one_device_cancel
Change one phone 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 select a phone with phone_index from the View dropdown
And
We edit and cancel the new label label in Phone Number Label for line line_index
Then
We should see the original label in Phone Number Label for phone with phone_index and line line_index
Examples: one device with multiple lines
username password phone_index line_index label
"user2" "cisco" 2 0 "lin"
"user2" "cisco" 2 2 "ana"
  • @one_device_multiple_lines
Check if all lines are displayed
When
We log in to the Self Care page with username and password
And
We are on the Phone Settings Page
And
We select a phone with phone_index from the View dropdown
Then
We should see all line_number lines displayed in the labels table
Examples: one device with multiple lines
username password phone_index line_number
"user1" "cisco" 1 0
"user2" "cisco" 2 3
"user2" "cisco" 3 2

Last published about 5 years ago by Chris.