mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Wait for navigation on teaser image test
This commit is contained in:
parent
99e75066f9
commit
81d5fb9f80
@ -15,6 +15,7 @@ Feature: Upload/Delete images on posts
|
|||||||
|
|
||||||
Scenario: Create a Post with a Teaser Image
|
Scenario: Create a Post with a Teaser Image
|
||||||
When I click on "create post button"
|
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 "add" a teaser image
|
||||||
And I add all required fields
|
And I add all required fields
|
||||||
And I click on "save button"
|
And I click on "save button"
|
||||||
@ -25,6 +26,7 @@ Feature: Upload/Delete images on posts
|
|||||||
|
|
||||||
Scenario: Update a Post to add an image
|
Scenario: Update a Post to add an image
|
||||||
Given I navigate to page "/post/edit/p1"
|
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 should be able to "change" a teaser image
|
||||||
And I click on "save button"
|
And I click on "save button"
|
||||||
Then I see a toaster with "Saved!"
|
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
|
Scenario: Add image, then add a different image
|
||||||
When I click on "create post button"
|
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 "add" a teaser image
|
||||||
And I should be able to "change" a teaser image
|
And I should be able to "change" a teaser image
|
||||||
And the first image should not be displayed anymore
|
And the first image should not be displayed anymore
|
||||||
|
|
||||||
Scenario: Add image, then delete it
|
Scenario: Add image, then delete it
|
||||||
When I click on "create post button"
|
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 "add" a teaser image
|
||||||
Then I should be able to "remove" a teaser image
|
Then I should be able to "remove" a teaser image
|
||||||
And I add all required fields
|
And I add all required fields
|
||||||
@ -52,6 +56,7 @@ Feature: Upload/Delete images on posts
|
|||||||
|
|
||||||
Scenario: Delete existing image
|
Scenario: Delete existing image
|
||||||
Given I navigate to page "/post/edit/p1"
|
Given I navigate to page "/post/edit/p1"
|
||||||
|
Then I wait for 750 milliseconds
|
||||||
And my post has a teaser image
|
And my post has a teaser image
|
||||||
Then I should be able to "remove" a teaser image
|
Then I should be able to "remove" a teaser image
|
||||||
And I click on "save button"
|
And I click on "save button"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user