mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Wait for navigation on teaser image test
This commit is contained in:
parent
61b48fcd4c
commit
0951ff6f4f
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user