Wait for navigation on teaser image test

This commit is contained in:
Ulf Gebhardt 2021-04-12 10:53:46 +02:00
parent 61b48fcd4c
commit 0951ff6f4f
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -15,6 +15,7 @@ Feature: Upload/Delete images on posts
Scenario: Create a Post with a Teaser Image
When I click on "create post button"
Then I wait for 750 milliseconds
Then I should be able to "add" a teaser image
And I add all required fields
And I click on "save button"
@ -25,6 +26,7 @@ Feature: Upload/Delete images on posts
Scenario: Update a Post to add an image
Given I navigate to page "/post/edit/p1"
Then I wait for 750 milliseconds
And I should be able to "change" a teaser image
And I click on "save button"
Then I see a toaster with "Saved!"
@ -35,12 +37,14 @@ Feature: Upload/Delete images on posts
Scenario: Add image, then add a different image
When I click on "create post button"
Then I wait for 750 milliseconds
Then I should be able to "add" a teaser image
And I should be able to "change" a teaser image
And the first image should not be displayed anymore
Scenario: Add image, then delete it
When I click on "create post button"
Then I wait for 750 milliseconds
Then I should be able to "add" a teaser image
Then I should be able to "remove" a teaser image
And I add all required fields
@ -52,6 +56,7 @@ Feature: Upload/Delete images on posts
Scenario: Delete existing image
Given I navigate to page "/post/edit/p1"
Then I wait for 750 milliseconds
And my post has a teaser image
Then I should be able to "remove" a teaser image
And I click on "save button"