mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Added validation scenario
This commit is contained in:
parent
4988cae18f
commit
320fdc8909
1 changed files with 7 additions and 0 deletions
|
|
@ -11,6 +11,13 @@ Feature: General settings
|
|||
When I follow "General settings"
|
||||
Then I should be on the general settings page
|
||||
|
||||
Scenario: Submitting empty parameter
|
||||
Given I am on the general settings page
|
||||
When I fill in "Page title" with ""
|
||||
And I press "Save changes"
|
||||
Then I should still be on the general settings page
|
||||
And I should see "This value should not be blank."
|
||||
|
||||
Scenario: Saving the configuration
|
||||
Given I am on the general settings page
|
||||
When I press "Save changes"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue