summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/create_new.feature
blob: 9e5d9708f91ea5b03d662627789cdd1ce5aea274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# encoding: utf-8
Feature: create_new
	In order to start using the news rss reader
	As a user
	I want to be able to add feeds and folders

	Background:
		Given I am logged in
		And I am in the "news" app

	Scenario: default state when opening page
		When I look at the add new button
		Then I should not see a caption on the add new button
		And I should not see a form to add feeds and folders 

	Scenario: show caption on hover
		When I hover over the add new button
		Then I should see a "Add Website" caption on the add new button

	Scenario: show add website dialogue
		When I click on the add new button
		Then I should see a form to add feeds and folders

	Scenario: hide add website dialogue when clicking somewhere else
		Given I click on the add new button
		When I click somewhere else
		Then I should not see a form to add feeds and folders