Skip to content

Commit

Permalink
Revert "[TASK] Adapt labels in tests to comply with crowding translat… (
Browse files Browse the repository at this point in the history
#1072)

Revert "[TASK] Adapt labels in tests to comply with crowding translations"

This reverts commit 5ef7b9a.

Related: #1071
  • Loading branch information
mschwemer authored Jul 5, 2024
1 parent 24853e3 commit 8741e42
Show file tree
Hide file tree
Showing 33 changed files with 101 additions and 101 deletions.
6 changes: 3 additions & 3 deletions Tests/Behavior/Features/Pi1/Default/AllFields.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Feature: AllFields
Then I should see "Content Element (Sally Dalmatiner)"
Then the sourcecode should contain '<b>Fett</b> Mager'
Then I should see "Password"
Then I should see "Bitte wiederholen"
Then I should see "Bitte erneut eintragen"
Then I should see "Upload"
Then I should see "Date"
Then I should see "Location"
Expand All @@ -43,7 +43,7 @@ Feature: AllFields
And I scroll "$[type='submit']" into view
And I press "Submit"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "email@email.org"
Then I should see "Test for Textarea äöß"
Then I should see "green"
Expand All @@ -70,7 +70,7 @@ Feature: AllFields
And I scroll "$[type='submit']" into view
And I press "Submit"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "new@email.org"
Then I should see "Test for Textarea."
Then I should see "green"
Expand Down
4 changes: 2 additions & 2 deletions Tests/Behavior/Features/Pi1/Default/ShortFormAjax.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feature: ShortFormAjax
And I press "Jetzt Absenden"
And I wait "a few" seconds

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel"
Then I should see "Daniel_Boxhammer@fake-yahoo-10000.com"
Then I should not see "Error, this text is only viewable if AJAX"
Expand All @@ -33,7 +33,7 @@ Feature: ShortFormAjax
And I press "Jetzt Absenden"
And I wait "a few" seconds

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel"
Then I should see "Daniel_Boxhammer25@fake-yahoo-10000.com"
Then I should not see "Error, this text is only viewable if AJAX"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Feature: AllFields
And I press "Jetzt Absenden"
And I wait "a few" seconds

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt"
And I press "Weiter"
And I wait "a few" seconds

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: AllFields
When I fill in "tx_powermail_pi1[field][marker_01]" with "3"
And I press "Submit2"
And I wait "a few" seconds
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt"
And I press "Weiter"
And I wait "a few" seconds

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: ShortFormAndRedirect
When I fill in "tx_powermail_pi1[field][lastname]" with "Koehler"
When I fill in "tx_powermail_pi1[field][email]" with "Tuana.Koehler20@fake-yahoo.com"
And I press "Jetzt Absenden"
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
And I press "Weiter"
Then I should see "Willkommen zum powermail Testparcour"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: ShortFormConfirmation
When I fill in "tx_powermail_pi1[field][lastname]" with "Boxhammer"
When I fill in "tx_powermail_pi1[field][email]" with "Daniel_Boxhammer25@fake-yahoo-10000.com"
And I press "Jetzt Absenden"
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel"
Then I should see "Boxhammer"
Then I should see "Daniel_Boxhammer25@fake-yahoo-10000.com"
Expand All @@ -32,7 +32,7 @@ Feature: ShortFormConfirmation
When I fill in "tx_powermail_pi1[field][lastname]" with "Boxhammer"
When I fill in "tx_powermail_pi1[field][email]" with "Daniel_Boxhammer25@fake-yahoo-10000.com"
And I press "Jetzt Absenden"
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel"
Then I should see "Boxhammer"
Then I should see "Daniel_Boxhammer25@fake-yahoo-10000.com"
Expand All @@ -42,7 +42,7 @@ Feature: ShortFormConfirmation
Then the "tx_powermail_pi1[field][email]" field should contain "Daniel_Boxhammer25@fake-yahoo-10000.com"
Then I fill in "tx_powermail_pi1[field][email]" with "Daniel_Boxhammer@fake-yahoo-10000.com"
And I press "Jetzt Absenden"
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel"
Then I should see "Boxhammer"
Then I should see "Daniel_Boxhammer@fake-yahoo-10000.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Feature: ShortFormDoubleOptin
When I fill in "tx_powermail_pi1[field][lastname]" with "Boxhammer"
When I fill in "tx_powermail_pi1[field][email]" with "Daniel_Boxhammer25@fake-yahoo-10000.com"
And I press "Jetzt Absenden"
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel"
Then I should see "Boxhammer"
Then I should see "Daniel_Boxhammer25@fake-yahoo-10000.com"
And I press "Weiter"
Then I should see "Bitte schauen Sie in Ihrem Posteingang nach und bestätigen Sie diese Aktion."
Then I should see "Bitte überprüfen Sie Ihr E-Mail-Postfach und bestätigen Sie diese Aktion."

Scenario: Check if optinConfirm shows error if wrong cHash
Given I am on "/powermail/pi1/default/shortform-doubleoptin?tx_powermail_pi1%5Baction%5D=optinConfirm&tx_powermail_pi1%5Bcontroller%5D=Form&tx_powermail_pi1%5Bhash%5D=5ac6ed0164b67822a0235a2f3b54d7266a97f131d7de71480953c0d6ae970dd&tx_powermail_pi1%5Bmail%5D=1&cHash=785a789668b09da69570db53b79e242e"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Feature: ShortFormDoubleOptinRedirect
Then I should see "E-Mail"
And I press "Jetzt Absenden"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel"
Then I should see "Boxhammer"
Then I should see "Daniel_Boxhammer25@fake-yahoo-10000.com"
And I press "Weiter"
Then I should see "Bitte schauen Sie in Ihrem Posteingang nach und bestätigen Sie diese Aktion."
Then I should see "Bitte überprüfen Sie Ihr E-Mail-Postfach und bestätigen Sie diese Aktion."
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Feature: ExcludeFromPowermailAll
When I fill in "tx_powermail_pi1[field][captcha]" with "123"
And I press "Submit"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Sendername"
Then I should see "Tuana.Koehler20@yahoo.com"
Then I should not see "Admin Only Value"
Expand Down
2 changes: 1 addition & 1 deletion Tests/Behavior/Features/Pi1/Misc/NoTypoScript.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Feature: NoTypoScript

Scenario: Check if No-TypoScript-Message appears
Given I am on "/powermail/pi1/misc/form-ohne-ts"
Then I should see "Keine TypoScript-Konfiguration gefunden. Admin, haben Sie das statische Template \"Main\" eingebunden?"
Then I should see "TypoScript benötigt. Sind Sie sicher, dass Sie die erforderlichen Static Templates eingebunden haben?"
2 changes: 1 addition & 1 deletion Tests/Behavior/Features/Pi1/Misc/Optin/MailDeleted.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Feature: Follow an optin link but mail is deleted

Scenario: Check if an error message appears if I try to open an optin URI with a deleted mail
Given I am on "/index.php?id=65&tx_powermail_pi1[hash]=731a0deff2&tx_powermail_pi1[mail]=8733&tx_powermail_pi1[action]=optinConfirm"
Then I should see "Der angegebene Link ist ungültig"
Then I should see "Der eingegebene Link ist ungültig"
4 changes: 2 additions & 2 deletions Tests/Behavior/Features/Pi1/Upload/Ajax.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Feature: AJAX Upload
And I press "Submit"
And I wait "a few" seconds

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel Boxhammer"
Then I should see text matching "test_\d+.txt|test.txt"
And I press "Zurück"
Expand All @@ -26,7 +26,7 @@ Feature: AJAX Upload
And I press "Submit"
And I wait "a few" seconds

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel Boxhammer"
Then I should see text matching "test_\d+.txt|test.txt"
Then I should see text matching "logo2_\d+.png|logo2.png"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ Feature: Check if Uploads in a Form work as expected with given file extension
Given I am on "/powermail/pi1/upload/upload-fileextension/upload-png/png-clientside"
When I attach the file "test.txt" to "tx_powermail_pi1[field][upload][]"
And I press "Submit"
Then I should see "Dateien mit dieser Erweiterung dürfen nicht hochgeladen werden!"
Then I should see "Der Dateityp ist nicht erlaubt, bitte versuchen Sie einen anderen Typ!"
Then I should not see "Error, this text should not be here"

@javascript
Scenario: Check clientside validation with correct format
Given I am on "/powermail/pi1/upload/upload-fileextension/upload-png/png-clientside"
When I attach the file "in2code.png" to "tx_powermail_pi1[field][upload][]"
And I press "Submit"
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"

@javascript
Scenario: Check clientside validation with correct format (but uppercase)
Given I am on "/powermail/pi1/upload/upload-fileextension/upload-png/png-clientside"
When I attach the file "in2code.PNG" to "tx_powermail_pi1[field][upload][]"
And I press "Submit"
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Feature: Check if Uploads in a Form work as expected with given file extension
Given I am on "/powermail/pi1/upload/upload-fileextension/upload-png/png-serverside"
When I attach the file "test.txt" to "tx_powermail_pi1[field][upload][]"
And I press "Submit"
Then I should see "Dateien mit dieser Erweiterung dürfen nicht hochgeladen werden!"
Then I should see "Der Dateityp ist nicht erlaubt, bitte versuchen Sie einen anderen Typ!"

When I attach the file "logo1.png" to "tx_powermail_pi1[field][upload][]"
And I press "Submit"
Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Feature: Check if Uploads in a Form work as expected
When I attach the file "logo2.png" to "tx_powermail_pi1[field][uploads][]"
When I attach the file "sally.jpg" to "tx_powermail_pi1[field][uploads2][]"
And I press "Submit"
Then I should see "Diese Datei ist zu groß"
Then I should see "Die ausgewählte Datei ist zu groß"

Given I am on "/powermail/pi1/upload/upload-filesize/upload-30kb-clientside"
When I attach the file "test.txt" to "tx_powermail_pi1[field][upload][]"
When I attach the file "logo2.png" to "tx_powermail_pi1[field][uploads][]"
When I attach the file "logo1.png" to "tx_powermail_pi1[field][uploads2][]"
And I press "Submit"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel Boxhammer"
Then I should see text matching "test_\d+.txt|test.txt"
Then I should see text matching "logo2_\d+.png|logo2.png"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ Feature: Check if Uploads in a Form work as expected
When I attach the file "sally.jpg" to "tx_powermail_pi1[field][uploads2][]"
And I press "Submit"

Then I should see "Diese Datei ist zu groß"
Then I should see "Die ausgewählte Datei ist zu groß"
When I attach the file "test.txt" to "tx_powermail_pi1[field][upload][]"
When I attach the file "logo2.png" to "tx_powermail_pi1[field][uploads][]"
And I press "Submit"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel Boxhammer"
Then I should see text matching "test_\d+.txt|test.txt"
Then I should see text matching "logo2_\d+.png|logo2.png"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Feature: RandomizedUpload
When I attach the file "sally.jpg" to "tx_powermail_pi1[field][uploads2][]"
And I press "Submit"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel Boxhammer"
Then I should not see text matching "test_\d+.txt|test.txt"
Then I should see text matching "[a-z0-9]{32}.txt"
Expand Down
4 changes: 2 additions & 2 deletions Tests/Behavior/Features/Pi1/Upload/Upload.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Feature: Upload
When I attach the file "test.txt" to "tx_powermail_pi1[field][upload][]"
And I press "Submit"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel Boxhammer"
Then I should see text matching "test_\d+.txt|test.txt"
And I press "Zurück"
Expand All @@ -23,7 +23,7 @@ Feature: Upload
When I attach the file "sally.jpg" to "tx_powermail_pi1[field][uploads2][]"
And I press "Submit"

Then I should see "Sind diese Werte richtig?"
Then I should see "Sind diese Eingaben korrekt?"
Then I should see "Daniel Boxhammer"
Then I should see text matching "test_\d+.txt|test.txt"
Then I should see text matching "logo2_\d+.png|logo2.png"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,67 +120,67 @@ Feature: Html5JsPhpValidation
####
Then I fill in "tx_powermail_pi1[field][limit10]" with "12345678910"
And I press "Submit"
Then I should see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

Then I fill in "tx_powermail_pi1[field][limit10]" with "äbcdefghijk"
And I press "Submit"
Then I should see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

Then I fill in "tx_powermail_pi1[field][limit10]" with "1234567891"
And I press "Submit"
Then I should not see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should not see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

Then I fill in "tx_powermail_pi1[field][limit10]" with "äbcdefghij"
And I press "Submit"
Then I should not see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should not see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

####
# Length Textarea
####
Then I fill in "tx_powermail_pi1[field][limit10textarea]" with "12345678910"
And I press "Submit"
Then I should see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

Then I fill in "tx_powermail_pi1[field][limit10textarea]" with "äbcdefghijk"
And I press "Submit"
Then I should see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

Then I fill in "tx_powermail_pi1[field][limit10textarea]" with "1234567891"
And I press "Submit"
Then I should not see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should not see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

Then I fill in "tx_powermail_pi1[field][limit10textarea]" with "äbcdefghij"
And I press "Submit"
Then I should not see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should not see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

When I fill in "tx_powermail_pi1[field][limit10textarea]" with:
"""
12345678
91
"""
And I press "Submit"
Then I should see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

When I fill in "tx_powermail_pi1[field][limit10textarea]" with:
"""
12345678
9
"""
And I press "Submit"
Then I should not see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should not see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

When I fill in "tx_powermail_pi1[field][limit10textarea]" with:
"""
12äß5678
91
"""
And I press "Submit"
Then I should see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"

When I fill in "tx_powermail_pi1[field][limit10textarea]" with:
"""
12äß5678
9
"""
And I press "Submit"
Then I should not see "Ihre Eingabe ist ungültig (Zu viele oder zu wenig Zeichen)"
Then I should not see "Der Wert ist nicht zulässig (zu viele oder zu wenig Zeichen)"
Loading

0 comments on commit 8741e42

Please sign in to comment.