diff options
author | Tiago Ferraz <tiago.ferraz@gmail.com> | 2015-03-23 10:27:39 -0300 |
---|---|---|
committer | Tiago Ferraz <tiago.ferraz@gmail.com> | 2015-03-26 12:12:40 -0300 |
commit | aab5c4e3f721431591f3709cecb2e2e58ab9774e (patch) | |
tree | c9d46bb5378bf77c8b20dcb1adc798e0ce7b5b2c /service/test/functional/features/checkboxes_and_mailboxes.feature | |
parent | 68a0f94cd15b661caa2b4ea87eef55972c8bff25 (diff) |
New test that use checkboxes. Removal of hamcrest lib, code refactoring.
A new test was created to use Pixelated checkboxes and the buttons at
the top. Also the lib hamcrest was removed and code refactored to be
more pythonic. A new method after_step will log information in case of
step failures.
Diffstat (limited to 'service/test/functional/features/checkboxes_and_mailboxes.feature')
-rw-r--r-- | service/test/functional/features/checkboxes_and_mailboxes.feature | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/service/test/functional/features/checkboxes_and_mailboxes.feature b/service/test/functional/features/checkboxes_and_mailboxes.feature new file mode 100644 index 00000000..47ea806d --- /dev/null +++ b/service/test/functional/features/checkboxes_and_mailboxes.feature @@ -0,0 +1,31 @@ +# +# Copyright (c) 2014 ThoughtWorks, Inc. +# +# Pixelated is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Pixelated is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# 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: Checkboxes + As a user of Pixelated + I want to use checkboxes to manage my emails + So I can manage more than one email at once + + 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 + And I delete the email + When I select the tag 'trash' + Then the deleted mail is there + When I check all emails + And I delete them permanently + Then I should not see any email + |