creating_configuration.feature
1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Feature: Create configuration
As a mezuro user
I want to create a Mezuro configuration
Background:
Given the following users
| login | name |
| joaosilva | Joao Silva |
And I am logged in as "joaosilva"
And "Mezuro" plugin is enabled
Scenario: I see Mezuro Configuration on my control panel
When I go to the Control panel
Then I should see "Mezuro configuration"
Scenario: I see an empty set of clone configurations
When I go to the Control panel
And there is no previous configurations created
And I follow "Mezuro configuration"
Then I should see "None"
And I should not see "error"
Scenario: creating with valid attributes
When I go to the Control panel
And I create a Mezuro configuration with the following data
| Title | Qt_Calculator |
| Description | A sample description |
Then I should see "Name"
And I should see "Qt_Calculator"
And I should see "Description"
And I should see "A sample description"
Scenario: I see a set of clone configurations
When I go to the Control panel
And I follow "Mezuro configuration"
Then I should see "None"
And I should not see "error"
Scenario: creating with duplicated name
When I go to the Control panel
And I create a Mezuro configuration with the following data
| Title | Original Title |
And I go to the Control panel
And I create a Mezuro configuration with the following data
| Title | Original Title |
Then I should see "1 error prohibited this article from being saved"
Scenario: creating without title
When I go to the Control panel
And I create a Mezuro configuration with the following data
| Title | |
Then I should see "1 error prohibited this article from being saved"