Skip to content

Commit 7903315

Browse files
committed
[TASK] Adjust behaviour test because of a better behaviour for required+anything validation
Now we check for required validation first before we do any other validation on fields. This has to be configured in the tests.
1 parent ff750fb commit 7903315

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Tests/Behavior/Features/Pi1/Validation/Mandatory/Html5JsPhpValidation.feature

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ Feature: Html5JsPhpValidation
1616
And I press "Submit"
1717

1818
Then I should see "Dieses Feld muss ausgefüllt werden!"
19-
Then I should see "Fehler in Validierung!"
2019
Then I should see "Eines dieser Felder muss ausgefüllt werden!"
2120
Then I fill in "tx_powermail_pi1[field][lastname]" with "Daniel"
2221
And I scroll "$[type='submit']" into view
2322
And I press "Submit"
2423

2524
Then I should see "Dieses Feld muss ausgefüllt werden!"
26-
Then I should see "Fehler in Validierung!"
2725
Then I should see "Eines dieser Felder muss ausgefüllt werden!"
2826
Then I fill in "tx_powermail_pi1[field][inputpattern]" with "test"
2927
And I press "Submit"
@@ -87,14 +85,12 @@ Feature: Html5JsPhpValidation
8785
And I press "Submit EN"
8886

8987
Then I should see "This field must be filled!"
90-
Then I should see "Error in validation!"
9188
Then I should see "One of these fields must be filled!"
9289
Then I fill in "tx_powermail_pi1[field][lastname]" with "Boxhammer"
9390
And I scroll "$[type='submit']" into view
9491
And I press "Submit EN"
9592

9693
Then I should see "This field must be filled!"
97-
Then I should see "Error in validation!"
9894
Then I should see "One of these fields must be filled!"
9995
Then I fill in "tx_powermail_pi1[field][inputpattern]" with "test"
10096
And I press "Submit EN"

Tests/Behavior/Features/Pi1/Validation/Mandatory/JsPhpValidation.feature

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ Feature: JsPhpValidation
1616
And I press "Submit"
1717

1818
Then I should see "Dieses Feld muss ausgefüllt werden!"
19-
Then I should see "Fehler in Validierung!"
2019
Then I should see "Eines dieser Felder muss ausgefüllt werden!"
2120
Then I fill in "tx_powermail_pi1[field][lastname]" with "Daniel"
2221
And I scroll "$[type='submit']" into view
2322
And I press "Submit"
2423

2524
Then I should see "Dieses Feld muss ausgefüllt werden!"
26-
Then I should see "Fehler in Validierung!"
2725
Then I should see "Eines dieser Felder muss ausgefüllt werden!"
2826
Then I fill in "tx_powermail_pi1[field][inputpattern]" with "test"
2927
And I press "Submit"
@@ -87,14 +85,12 @@ Feature: JsPhpValidation
8785
And I press "Submit EN"
8886

8987
Then I should see "This field must be filled!"
90-
Then I should see "Error in validation!"
9188
Then I should see "One of these fields must be filled!"
9289
Then I fill in "tx_powermail_pi1[field][lastname]" with "Boxhammer"
9390
And I scroll "$[type='submit']" into view
9491
And I press "Submit EN"
9592

9693
Then I should see "This field must be filled!"
97-
Then I should see "Error in validation!"
9894
Then I should see "One of these fields must be filled!"
9995
Then I fill in "tx_powermail_pi1[field][inputpattern]" with "test"
10096
And I press "Submit EN"

0 commit comments

Comments
 (0)