summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-08-30 08:54:43 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2017-08-30 08:54:43 +1100
commit569c7becf0ef18f56d03d738b8fedadbec869c08 (patch)
treefd361e47517c7bbab065ed42049e95025617a0d5 /features/project
parent2be34630623711fc20ef8c101b5cef688f207cc1 (diff)
downloadgitlab-ce-569c7becf0ef18f56d03d738b8fedadbec869c08.tar.gz
Replace 'project/star.feature' spinach test with an rspec analog
Diffstat (limited to 'features/project')
-rw-r--r--features/project/star.feature39
1 files changed, 0 insertions, 39 deletions
diff --git a/features/project/star.feature b/features/project/star.feature
deleted file mode 100644
index 618f44fe6dc..00000000000
--- a/features/project/star.feature
+++ /dev/null
@@ -1,39 +0,0 @@
-@project-stars
-Feature: Project Star
- Scenario: New projects have 0 stars
- Given public project "Community"
- When I visit project "Community" page
- Then The project has no stars
-
- Scenario: Empty projects show star count
- Given public empty project "Empty Public Project"
- When I visit empty project page
- Then The project has no stars
-
- Scenario: Signed off users can't star projects
- Given public project "Community"
- And I visit project "Community" page
- When I click on the star toggle button
- Then I redirected to sign in page
-
- @javascript
- Scenario: Signed in users can toggle star
- Given I sign in as "John Doe"
- And public project "Community"
- And I visit project "Community" page
- When I click on the star toggle button
- Then The project has 1 star
- When I click on the star toggle button
- Then The project has 0 stars
-
- @javascript
- Scenario: Star count sums stars
- Given I sign in as "John Doe"
- And public project "Community"
- And I visit project "Community" page
- And I click on the star toggle button
- And I logout
- And I sign in as "Mary Jane"
- And I visit project "Community" page
- When I click on the star toggle button
- Then The project has 2 stars