Commit 5dd4ae4722b884ef00886aed34f6c29f7c1a1b30
Committed by
Paulo Meireles
1 parent
94993587
Exists in
master
and in
28 other branches
[Mezuro] Fixing step "I update" to "I fill the fields"
Showing
2 changed files
with
10 additions
and
10 deletions
Show diff stats
plugins/mezuro/features/reading_group.feature
| ... | ... | @@ -65,9 +65,9 @@ Feature: Reading Group |
| 65 | 65 | And I am on article "Sample Reading group" |
| 66 | 66 | And I should be on /joaosilva/sample-reading-group |
| 67 | 67 | And I follow "Edit" |
| 68 | - When I update this Mezuro reading group with the following data | |
| 69 | - | Title | Another Reading group | | |
| 70 | - | Description | Another Description | | |
| 68 | + When I fill the fields with the new following data | |
| 69 | + | article_name | Another Reading group | | |
| 70 | + | article_description | Another Description | | |
| 71 | 71 | And I press "Save" |
| 72 | 72 | Then I should see "Another Reading group" |
| 73 | 73 | And I should see "Another Description" |
| ... | ... | @@ -99,9 +99,9 @@ Feature: Reading Group |
| 99 | 99 | And I am on article "Sample Reading group" |
| 100 | 100 | And I should be on /joaosilva/sample-reading-group |
| 101 | 101 | And I follow "Edit" |
| 102 | - When I update this Mezuro reading group with the following data | |
| 103 | - | Title | Another Reading group | | |
| 104 | - | Description | Another Description | | |
| 102 | + When I fill the fields with the new following data | |
| 103 | + | article_name | Another Reading group | | |
| 104 | + | article_description | Another Description | | |
| 105 | 105 | And I press "Save" |
| 106 | 106 | Then I should see "Slug The title (article name) is already being used by another article, please use another title." |
| 107 | 107 | ... | ... |
plugins/mezuro/features/repository.feature
| ... | ... | @@ -16,6 +16,10 @@ Feature: Repository |
| 16 | 16 | | name | Sample Project | |
| 17 | 17 | | description | Sample Description | |
| 18 | 18 | | community | mycommunity | |
| 19 | + And I have a Mezuro configuration with the following data | |
| 20 | + | name | Sample Configuration| | |
| 21 | + | description | Sample Description | | |
| 22 | + | user | joaosilva | | |
| 19 | 23 | And I am on article "Sample Project" |
| 20 | 24 | And I should be on /mycommunity/sample-project |
| 21 | 25 | |
| ... | ... | @@ -31,10 +35,6 @@ Feature: Repository |
| 31 | 35 | And I should see "Add" button |
| 32 | 36 | |
| 33 | 37 | Scenario: I want to add a repository with no name |
| 34 | - And I have a Mezuro configuration with the following data | |
| 35 | - | name | Sample Configuration| | |
| 36 | - | description | Sample Description | | |
| 37 | - | user | joaosilva | | |
| 38 | 38 | Given I follow "Add Repository" |
| 39 | 39 | When I fill the fields with the new following data |
| 40 | 40 | | repository_name | | | ... | ... |