-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reenable wayPointImageUploadvalidation with big file size #248
- Loading branch information
1 parent
f22d048
commit aeaec28
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,17 +55,17 @@ Feature: An user can upload an image when creating a new wayPoint | |
And I click on test element "button-way-point-submit" | ||
And I wait for 'The provided "data:" URI is not valid.' to appear | ||
|
||
# @javascript | ||
# @wayPointImageUpload @ignore # chrome is crashing: unknown error: session deleted because of page crash from unknown error: cannot determine loading status from tab crashed (Session info: headless chrome=98.0.4758.102) | ||
# Scenario: I can not add a too large image when I create a wayPoint | ||
# Given I am authenticated as "[email protected]" | ||
# And I go to swapp page "/runde/walkId<Gorbitz>/wegpunkt-hinzufuegen" | ||
# Then I wait for 'Wegpunkt zur Runde "Gorbitz" hinzufügen' to appear | ||
# And the element "locationName" should be enabled | ||
# When I enter "Assieck" in "locationName" field | ||
# When I enter "Straßenbahnen sind blockiert" in "note" field | ||
# When I enter "@image_big.jpg" in "Bildupload" field | ||
# Then I wait for "Für diese Runde gibt es keine Wegpunkte." to appear | ||
# Then I wait for "Wegpunkt ansehen" to disappear | ||
# And I click on test element "button-way-point-submit" | ||
# And I wait for 'Das Bild ist mit 10.08 MB größer als die maximal erlaubten 10 MB.' to appear | ||
@javascript | ||
@wayPointImageUpload | ||
Scenario: I can not add a too large image when I create a wayPoint | ||
Given I am authenticated as "[email protected]" | ||
And I go to swapp page "/runde/walkId<Gorbitz>/wegpunkt-hinzufuegen" | ||
Then I wait for 'Wegpunkt zur Runde "Gorbitz" hinzufügen' to appear | ||
And the element "locationName" should be enabled | ||
When I enter "Assieck" in "locationName" field | ||
When I enter "Straßenbahnen sind blockiert" in "note" field | ||
When I enter "@image_big.jpg" in "Bildupload" field | ||
Then I wait for "Für diese Runde gibt es keine Wegpunkte." to appear | ||
Then I wait for "Wegpunkt ansehen" to disappear | ||
And I click on test element "button-way-point-submit" | ||
And I wait for 'Das Bild ist mit 10.08 MB größer als die maximal erlaubten 10 MB.' to appear |