From aee74ce5144d098825f6fb1b4a46b68c0af2f841 Mon Sep 17 00:00:00 2001 From: kaeff Date: Mon, 17 Aug 2015 20:45:10 +0200 Subject: 2 attempts against flakiness of checkboxes_and_mailboxes 1) Explicitly load inbox to avoid test fails before mail appears 2) Use "loading..." notification to check whether deleting mail has already been completed checkboxes_and_mailboxes.feature spends a lot time waiting (even if the step is already executed logically) as one can see when running tests in Firefox. This test is a good candidate for speed optimization. --- service/test/functional/features/checkboxes_and_mailboxes.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'service/test/functional/features/checkboxes_and_mailboxes.feature') diff --git a/service/test/functional/features/checkboxes_and_mailboxes.feature b/service/test/functional/features/checkboxes_and_mailboxes.feature index 47ea806d..09710040 100644 --- a/service/test/functional/features/checkboxes_and_mailboxes.feature +++ b/service/test/functional/features/checkboxes_and_mailboxes.feature @@ -21,7 +21,8 @@ Feature: Checkboxes Scenario: User has a list of emails in each mailboxes that needs to be managed Given I have a mail in my inbox - When I mark the first unread email as read + When I select the tag 'inbox' + And I mark the first unread email as read And I delete the email When I select the tag 'trash' Then the deleted mail is there -- cgit v1.2.3