Skip to content

Commit

Permalink
feature:WEOS-1327
Browse files Browse the repository at this point in the history
- Updated feature file
  • Loading branch information
RandyDeo committed Feb 11, 2022
1 parent cc1f393 commit f27f1ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion end2end_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ func TestBDD(t *testing.T) {
Options: &godog.Options{
Format: "pretty",
Tags: "~skipped && ~long",
//Tags: "WEOS-1131",
//Tags: "focus1",
//Tags: "WEOS-1110 && ~skipped",
},
}.Run()
Expand Down
5 changes: 3 additions & 2 deletions features/edit-content.feature
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,15 @@ Feature: Edit content
And the "Blog" is updated
| title | description |
| Some New Title | Some Description |


@focus1
Scenario: Update item with invalid data

If the content type validation fails then a 422 response code should be returned (the request could have a valid
format but the contents are invalid)

Given "Sojourner" is on the "Blog" edit screen with id "1234"
And "Sojourner" enters "Some New Title" in the "last_updated" field
And "Sojourner" enters "Some New Title" in the "lastUpdated" field

When the "Blog" is submitted
Then a 422 response should be returned
Expand Down

0 comments on commit f27f1ff

Please sign in to comment.