2018-06-20 13:38:54 +00:00
|
|
|
@setupApplicationTest
|
|
|
|
Feature: settings / update: Update Settings
|
|
|
|
In order to authenticate with an ACL token
|
|
|
|
As a user
|
|
|
|
I need to be able to add my token via the UI
|
|
|
|
Scenario: I click Save without actually typing anything
|
|
|
|
Given 1 datacenter model with the value "datacenter"
|
|
|
|
When I visit the settings page
|
|
|
|
Then the url should be /settings
|
2018-07-04 15:37:41 +00:00
|
|
|
Then I have settings like yaml
|
|
|
|
---
|
|
|
|
token: ~
|
|
|
|
---
|
2018-06-20 13:38:54 +00:00
|
|
|
And I submit
|
|
|
|
Then I have settings like yaml
|
|
|
|
---
|
|
|
|
token: ''
|
|
|
|
---
|
2018-08-29 18:14:31 +00:00
|
|
|
And the url should be /settings
|
|
|
|
And "[data-notification]" has the "notification-update" class
|
|
|
|
And "[data-notification]" has the "success" class
|
2018-06-20 13:38:54 +00:00
|
|
|
|