Logo: Relish

  1. Sign in

Project: Anewstart annual_plan

Manage Account Devices

  • @javascript
  • @vcr

In order to make a account
As a user
I want to update device info

Scenarios
Edit Device
Given
I am logged in
And
I have a device with guid "e999b81d-ee90-5cc3-ade0-812fe57d58ff"
And
I am on the Devices page
And
I click "edit"
And
I fill in "device_name" with "Living Room TV"
And
I press "save"
Then
I should see the following table rows:
Device Name Device Type Device ID Status
Living Room TV e999b81d-ee90-5cc3-ade0-812fe57d58ff Active edit
Edit Device with validation errors
Given
I am logged in
And
I have a device with guid "e999b81d-ee90-5cc3-ade0-812fe57d58ff"
And
I am on the Devices page
And
I click "edit"
And
I press "save"
Then
I should see "Please enter a device name"
And
I fill in "device_name" with "Chuck's Android"
And
I press "save"
Then
I should see the following table rows:
Device Name Device Type Device ID Status
Chuck's Android e999b81d-ee90-5cc3-ade0-812fe57d58ff Active edit

Last published about 7 years ago by Edan Rosenberg.