just wait longer

This commit is contained in:
Ulf Gebhardt 2021-04-12 16:51:00 +02:00
parent 6ffaf7d860
commit e57ab0a9c6
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
3 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@ Feature: Search
Scenario: Search for specific words Scenario: Search for specific words
When I search for "Essays" When I search for "Essays"
And I wait for 750 milliseconds And I wait for 3000 milliseconds
Then I should have one item in the select dropdown Then I should have one item in the select dropdown
Then I should see the following posts in the select dropdown: Then I should see the following posts in the select dropdown:
| title | | title |
@ -38,7 +38,7 @@ Feature: Search
Scenario: Select entry goes to post Scenario: Select entry goes to post
When I search for "Essays" When I search for "Essays"
And I wait for 750 milliseconds And I wait for 3000 milliseconds
And I select a post entry And I select a post entry
Then I am on page "/post/p1/101-essays-that-will-change-the-way-you-think" Then I am on page "/post/p1/101-essays-that-will-change-the-way-you-think"

View File

@ -40,7 +40,7 @@ Feature: User - block an user
Given "harassing-user" wrote a post "You can still see my posts" Given "harassing-user" wrote a post "You can still see my posts"
And I block the user "Harassing User" And I block the user "Harassing User"
When I search for "see" When I search for "see"
And I wait for 750 milliseconds And I wait for 3000 milliseconds
Then I should see the following posts in the select dropdown: Then I should see the following posts in the select dropdown:
| title | | title |
| You can still see my posts | | You can still see my posts |
@ -50,7 +50,7 @@ Feature: User - block an user
And I am logged in as "harassing-user" And I am logged in as "harassing-user"
And I navigate to page "/" And I navigate to page "/"
And I search for "previously created" And I search for "previously created"
And I wait for 750 milliseconds And I wait for 3000 milliseconds
Then I should see the following posts in the select dropdown: Then I should see the following posts in the select dropdown:
| title | | title |
| previously created post | | previously created post |

View File

@ -33,18 +33,18 @@ Feature: Mute a User
Scenario: Posts of muted users are filtered from search results, users are not Scenario: Posts of muted users are filtered from search results, users are not
Given "annoying-user" wrote a post "Spam Spam Spam" Given "annoying-user" wrote a post "Spam Spam Spam"
When I search for "Spam" When I search for "Spam"
And I wait for 750 milliseconds And I wait for 3000 milliseconds
Then I should see the following posts in the select dropdown: Then I should see the following posts in the select dropdown:
| title | | title |
| Spam Spam Spam | | Spam Spam Spam |
When I mute the user "Annoying User" When I mute the user "Annoying User"
And I refresh the page And I refresh the page
And I search for "Anno" And I search for "Anno"
And I wait for 750 milliseconds And I wait for 3000 milliseconds
Then the search should not contain posts by the annoying user Then the search should not contain posts by the annoying user
But the search should contain the annoying user But the search should contain the annoying user
But I search for "not muted" But I search for "not muted"
And I wait for 750 milliseconds And I wait for 3000 milliseconds
Then I should see the following posts in the select dropdown: Then I should see the following posts in the select dropdown:
| title | | title |
| Post that should be seen | | Post that should be seen |
@ -54,7 +54,7 @@ Feature: Mute a User
And I am logged in as "annoying-user" And I am logged in as "annoying-user"
And I navigate to page "/" And I navigate to page "/"
And I search for "previously created" And I search for "previously created"
And I wait for 750 milliseconds And I wait for 3000 milliseconds
Then I should see the following posts in the select dropdown: Then I should see the following posts in the select dropdown:
| title | | title |
| previously created post | | previously created post |