summaryrefslogtreecommitdiff
path: root/service/test/functional/features/search_and_destroy.feature
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/functional/features/search_and_destroy.feature')
-rw-r--r--service/test/functional/features/search_and_destroy.feature22
1 files changed, 12 insertions, 10 deletions
diff --git a/service/test/functional/features/search_and_destroy.feature b/service/test/functional/features/search_and_destroy.feature
index 37edabd7..6efeae8b 100644
--- a/service/test/functional/features/search_and_destroy.feature
+++ b/service/test/functional/features/search_and_destroy.feature
@@ -14,15 +14,17 @@
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
-#Feature: search html mail and destroy
-# @wip
-# Scenario: User searches for a mail and deletes it
-# When I search for a mail with the words "this is a html mail"
-# When I open the first mail in the mail list
-# Then I see one or more mails in the search results
+# XXX: must implement with HTML content
+Feature: search mail and destroy
+
+ Scenario: User searches for a mail and deletes it'
+ Given I have a mail in my inbox
+ When I search for a mail with the words "the body of this message"
+ When I open the first mail in the mail list
+ Then I see one or more mails in the search results
# Then I see if the mail has html content
-# When I try to delete the first mail
-# # Then I learn that the mail was deleted
-# When I select the tag 'trash'
-# Then the deleted mail is there
+ When I try to delete the first mail
+ # Then I learn that the mail was deleted
+ When I select the tag 'trash'
+ Then the deleted mail is there