summaryrefslogtreecommitdiff
path: root/service/test/functional/features/tag_and_reply.feature
diff options
context:
space:
mode:
authorTiago Ferraz <tiago.ferraz@gmail.com>2015-03-09 16:14:50 -0300
committerTiago Ferraz <tiago.ferraz@gmail.com>2015-03-09 16:14:50 -0300
commit6b5de66fc5adc3c62a92738e9f317c4b1335f838 (patch)
tree09ad2b63806e9f72f10fee0c7e6825578ff4cd69 /service/test/functional/features/tag_and_reply.feature
parenta9a8a7330756d2fe9b6607dc670841b0ecfa64c5 (diff)
Refactoring of fuctional tests
The scenarios were updated to follow the conventions of gherkin steps. Removal of duplicated code.
Diffstat (limited to 'service/test/functional/features/tag_and_reply.feature')
-rw-r--r--service/test/functional/features/tag_and_reply.feature7
1 files changed, 5 insertions, 2 deletions
diff --git a/service/test/functional/features/tag_and_reply.feature b/service/test/functional/features/tag_and_reply.feature
index 8fe4cf84..450cb92d 100644
--- a/service/test/functional/features/tag_and_reply.feature
+++ b/service/test/functional/features/tag_and_reply.feature
@@ -14,14 +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: tagging and replying
+Feature: Tag and reply
+ As a user of Pixelated
+ I want to tag my emails
+ So that I can easily find them
Scenario: User tags a mail, replies to it then checks that mail is in the right tag
Given I have a mail in my inbox
When I open the first mail in the 'inbox'
When I add the tag 'website' to that mail
Then I see that mail under the 'website' tag
- And I open the mail I previously tagged
+ When I open the mail I previously tagged
And I reply to it
When I select the tag 'sent'
Then I see the mail I sent