-
-
Save maxlazio/5e8f0d6b764fe0198915 to your computer and use it in GitHub Desktop.
Tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@precise32:/vagrant/gitlabhq$ rake gitlab:test | |
| /home/vagrant/.rvm/rubies/ruby-1.9.3-p286/bin/ruby -S spinach | |
| Feature: Admin active tab | |
| Scenario: On Admin Home | |
| ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 | |
| ✔ Given I visit admin page # features/steps/shared/paths.rb:76 | |
| ✔ Then the active main tab should be Home # features/steps/admin/admin_active_tab.rb:6 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Admin Projects | |
| ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 | |
| ✔ Given I visit admin projects page # features/steps/shared/paths.rb:80 | |
| ✔ Then the active main tab should be Projects # features/steps/admin/admin_active_tab.rb:10 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Admin Groups | |
| ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 | |
| ✔ Given I visit admin groups page # features/steps/shared/paths.rb:100 | |
| ✔ Then the active main tab should be Groups # features/steps/admin/admin_active_tab.rb:14 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Admin Users | |
| ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 | |
| ✔ Given I visit admin users page # features/steps/shared/paths.rb:84 | |
| ✔ Then the active main tab should be Users # features/steps/admin/admin_active_tab.rb:18 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Admin Logs | |
| ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 | |
| ✔ Given I visit admin logs page # features/steps/shared/paths.rb:88 | |
| ✔ Then the active main tab should be Logs # features/steps/admin/admin_active_tab.rb:22 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Admin Hooks | |
| ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 | |
| ✔ Given I visit admin hooks page # features/steps/shared/paths.rb:92 | |
| ✔ Then the active main tab should be Hooks # features/steps/admin/admin_active_tab.rb:26 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Admin Resque | |
| ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 | |
| ✔ Given I visit admin Resque page # features/steps/shared/paths.rb:96 | |
| ✔ Then the active main tab should be Resque # features/steps/admin/admin_active_tab.rb:30 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Feature: Admin Groups | |
| Scenario: Create a group | |
| ✔ Given I sign in as an admin # features/steps/shared/authentication.rb:11 | |
| ✔ And I visit admin groups page # features/steps/shared/paths.rb:100 | |
| ✔ When I click new group link # features/steps/admin/admin_groups.rb:6 | |
| ✔ And submit form with new group info # features/steps/admin/admin_groups.rb:10 | |
| ✔ Then I should be redirected to group page # features/steps/admin/admin_groups.rb:19 | |
| ✔ And I should see newly created group # features/steps/admin/admin_groups.rb:15 | |
| Feature: Dashboard active tab | |
| Scenario: On Dashboard Home | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Then the active main tab should be Home # features/steps/dashboard/dashboard_active_tab.rb:6 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Dashboard Issues | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit dashboard issues page # features/steps/shared/paths.rb:32 | |
| ✔ Then the active main tab should be Issues # features/steps/dashboard/dashboard_active_tab.rb:10 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Dashboard Merge Requests | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit dashboard merge requests page # features/steps/shared/paths.rb:36 | |
| ✔ Then the active main tab should be Merge Requests # features/steps/dashboard/dashboard_active_tab.rb:14 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Dashboard Search | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit dashboard search page # features/steps/shared/paths.rb:40 | |
| ✔ Then the active main tab should be Search # features/steps/dashboard/dashboard_active_tab.rb:18 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Dashboard Help | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit dashboard help page # features/steps/shared/paths.rb:44 | |
| ✔ Then the active main tab should be Help # features/steps/dashboard/dashboard_active_tab.rb:22 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Feature: Dashboard | |
| Scenario: I should see projects list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/dashboard/dashboard.rb:62 | |
| ✔ And project "Shop" has push event # features/steps/dashboard/dashboard.rb:75 | |
| ✔ And I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Then I should see "New Project" link # features/steps/dashboard/dashboard.rb:5 | |
| ✔ Then I should see "Shop" project link # features/steps/dashboard/dashboard.rb:9 | |
| ✔ Then I should see project "Shop" activity feed # features/steps/dashboard/dashboard.rb:13 | |
| Scenario: I should see groups list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/dashboard/dashboard.rb:62 | |
| ✔ And project "Shop" has push event # features/steps/dashboard/dashboard.rb:75 | |
| ✔ And I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Given I have group with projects # features/steps/dashboard/dashboard.rb:67 | |
| ✔ And I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Then I should see groups list # features/steps/dashboard/dashboard.rb:101 | |
| Scenario: I should see correct projects count | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/dashboard/dashboard.rb:62 | |
| ✔ And project "Shop" has push event # features/steps/dashboard/dashboard.rb:75 | |
| ✔ And I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Given I have group with projects # features/steps/dashboard/dashboard.rb:67 | |
| ✔ And group has a projects that does not belongs to me # features/steps/dashboard/dashboard.rb:107 | |
| ✔ When I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Then I should see 1 project at group list # features/steps/dashboard/dashboard.rb:112 | |
| Scenario: I should see last push widget | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/dashboard/dashboard.rb:62 | |
| ✔ And project "Shop" has push event # features/steps/dashboard/dashboard.rb:75 | |
| ✔ And I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Then I should see last push widget # features/steps/dashboard/dashboard.rb:18 | |
| ✔ And I click "Create Merge Request" link # features/steps/dashboard/dashboard.rb:23 | |
| ✔ Then I see prefilled new Merge Request page # features/steps/dashboard/dashboard.rb:27 | |
| Scenario: I should see User joined Project event | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/dashboard/dashboard.rb:62 | |
| ✔ And project "Shop" has push event # features/steps/dashboard/dashboard.rb:75 | |
| ✔ And I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Given user with name "John Doe" joined project "Shop" # features/steps/dashboard/dashboard.rb:34 | |
| ✔ When I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Then I should see "John Doe joined project at Shop" event # features/steps/dashboard/dashboard.rb:44 | |
| Scenario: I should see User left Project event | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/dashboard/dashboard.rb:62 | |
| ✔ And project "Shop" has push event # features/steps/dashboard/dashboard.rb:75 | |
| ✔ And I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Given user with name "John Doe" joined project "Shop" # features/steps/dashboard/dashboard.rb:34 | |
| ✔ And user with name "John Doe" left project "Shop" # features/steps/dashboard/dashboard.rb:48 | |
| ✔ When I visit dashboard page # features/steps/shared/paths.rb:28 | |
| ✔ Then I should see "John Doe left project at Shop" event # features/steps/dashboard/dashboard.rb:58 | |
| Feature: Dashboard Issues | |
| Scenario: I should see issues list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I have assigned issues # features/steps/dashboard/dashboard_issues.rb:14 | |
| ✔ And I visit dashboard issues page # features/steps/shared/paths.rb:32 | |
| ✔ Then I should see issues assigned to me # features/steps/dashboard/dashboard_issues.rb:5 | |
| Feature: Dashboard Merge Requests | |
| Scenario: I should see projects list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I have authored merge requests # features/steps/dashboard/dashboard_merge_requests.rb:13 | |
| ✔ And I visit dashboard merge requests page# features/steps/shared/paths.rb:36 | |
| ✔ Then I should see my merge requests # features/steps/dashboard/dashboard_merge_requests.rb:5 | |
| Feature: Dashboard Search | |
| Scenario: I should see project I am looking for | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/dashboard/dashboard_search.rb:14 | |
| ✔ And Project "Shop" has wiki page "Contibuting guide"# features/steps/dashboard/dashboard_search.rb:24 | |
| ✔ And I visit dashboard search page # features/steps/shared/paths.rb:40 | |
| ✔ Given I search for "Sho" # features/steps/dashboard/dashboard_search.rb:5 | |
| ✔ Then I should see "Shop" project link # features/steps/dashboard/dashboard_search.rb:10 | |
| Scenario: I should see wiki page I am looking for | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/dashboard/dashboard_search.rb:14 | |
| ✔ And Project "Shop" has wiki page "Contibuting guide" # features/steps/dashboard/dashboard_search.rb:24 | |
| ✔ And I visit dashboard search page # features/steps/shared/paths.rb:40 | |
| ✔ Given I search for "Contibuting" # features/steps/dashboard/dashboard_search.rb:19 | |
| ✔ Then I should see "Contibuting guide" wiki link # features/steps/dashboard/dashboard_search.rb:31 | |
| Feature: Groups | |
| Scenario: I should see group dashboard list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I have group with projects # features/steps/group/group.rb:11 | |
| ✔ When I visit group page # features/steps/shared/paths.rb:12 | |
| ✔ Then I should see projects list # features/steps/group/group.rb:5 | |
| ✔ And I should see projects activity feed # features/steps/group/group.rb:19 | |
| Scenario: I should see group issues list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I have group with projects # features/steps/group/group.rb:11 | |
| ✔ Given project from group has issues assigned to me # features/steps/group/group.rb:35 | |
| ✔ When I visit group issues page # features/steps/shared/paths.rb:16 | |
| ✔ Then I should see issues from this group assigned to me # features/steps/group/group.rb:23 | |
| Scenario: I should see group merge requests list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I have group with projects # features/steps/group/group.rb:11 | |
| ✔ Given project from group has merge requests assigned to me # features/steps/group/group.rb:42 | |
| ✔ When I visit group merge requests page # features/steps/shared/paths.rb:20 | |
| ✔ Then I should see merge requests from this group assigned to me # features/steps/group/group.rb:29 | |
| Feature: Profile active tab | |
| Scenario: On Profile Home | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile page # features/steps/shared/paths.rb:52 | |
| ✔ Then the active main tab should be Home # features/steps/profile/profile_active_tab.rb:6 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Profile Account | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile account page # features/steps/shared/paths.rb:56 | |
| ✔ Then the active main tab should be Account # features/steps/profile/profile_active_tab.rb:10 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Profile SSH Keys | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile SSH keys page # features/steps/shared/paths.rb:60 | |
| ✔ Then the active main tab should be SSH Keys # features/steps/profile/profile_active_tab.rb:14 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Profile Design | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile design page # features/steps/shared/paths.rb:64 | |
| ✔ Then the active main tab should be Design # features/steps/profile/profile_active_tab.rb:18 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Profile History | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile history page # features/steps/shared/paths.rb:68 | |
| ✔ Then the active main tab should be History # features/steps/profile/profile_active_tab.rb:22 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Feature: Profile | |
| Scenario: I look at my profile | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile page # features/steps/shared/paths.rb:52 | |
| ✔ Then I should see my profile info # features/steps/profile/profile.rb:5 | |
| Scenario: I edit profile | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile page # features/steps/shared/paths.rb:52 | |
| ✔ Then I change my contact info # features/steps/profile/profile.rb:11 | |
| ✔ And I should see new contact info # features/steps/profile/profile.rb:19 | |
| Scenario: I change my password | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile account page # features/steps/shared/paths.rb:56 | |
| ✔ Then I change my password # features/steps/profile/profile.rb:25 | |
| ✔ And I should be redirected to sign in page # features/steps/profile/profile.rb:41 | |
| Scenario: I unsuccessfully change my password | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile account page # features/steps/shared/paths.rb:56 | |
| ✔ When I unsuccessfully change my password # features/steps/profile/profile.rb:31 | |
| ✔ Then I should see a password error message # features/steps/profile/profile.rb:37 | |
| Scenario: I reset my token | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile account page # features/steps/shared/paths.rb:56 | |
| ✔ Then I reset my token # features/steps/profile/profile.rb:45 | |
| ✔ And I should see new token # features/steps/profile/profile.rb:50 | |
| Scenario: I visit history tab | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I have activity # features/steps/profile/profile.rb:55 | |
| ✔ When I visit profile history page # features/steps/shared/paths.rb:68 | |
| ✔ Then I should see my activity # features/steps/profile/profile.rb:59 | |
| Scenario: I change my application theme | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile design page # features/steps/shared/paths.rb:64 | |
| ✔ When I change my application theme # features/steps/profile/profile.rb:63 | |
| ✔ Then I should see the theme change immediately # features/steps/profile/profile.rb:71 | |
| ✔ And I should receive feedback that the changes were saved # features/steps/profile/profile.rb:76 | |
| Scenario: I change my code preview theme | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ Given I visit profile design page # features/steps/shared/paths.rb:64 | |
| ✔ When I change my code preview theme # features/steps/profile/profile.rb:67 | |
| ✔ Then I should receive feedback that the changes were saved # features/steps/profile/profile.rb:76 | |
| Feature: Profile SSH Keys | |
| Scenario: I should see ssh keys | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I have ssh key "ssh-rsa Work" # features/steps/profile/profile_ssh_keys.rb:45 | |
| ✔ And I visit profile keys page # features/steps/profile/profile_ssh_keys.rb:35 | |
| ✔ Then I should see my ssh keys # features/steps/profile/profile_ssh_keys.rb:4 | |
| Scenario: Add new ssh key | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I have ssh key "ssh-rsa Work" # features/steps/profile/profile_ssh_keys.rb:45 | |
| ✔ And I visit profile keys page # features/steps/profile/profile_ssh_keys.rb:35 | |
| ✔ Given I click link "Add new" # features/steps/profile/profile_ssh_keys.rb:10 | |
| ✔ And I submit new ssh key "Laptop" # features/steps/profile/profile_ssh_keys.rb:14 | |
| ✔ Then I should see new ssh key "Laptop" # features/steps/profile/profile_ssh_keys.rb:20 | |
| Scenario: Remove ssh key | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I have ssh key "ssh-rsa Work" # features/steps/profile/profile_ssh_keys.rb:45 | |
| ✔ And I visit profile keys page # features/steps/profile/profile_ssh_keys.rb:35 | |
| ✔ Given I click link "Work" # features/steps/profile/profile_ssh_keys.rb:27 | |
| ✔ And I click link "Remove" # features/steps/profile/profile_ssh_keys.rb:31 | |
| ✔ Then I visit profile keys page # features/steps/profile/profile_ssh_keys.rb:35 | |
| ✔ And I should not see "Work" ssh key # features/steps/profile/profile_ssh_keys.rb:39 | |
| Feature: Project active tab | |
| Scenario: On Project Home | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's home page # features/steps/shared/paths.rb:108 | |
| ✔ Then the active main tab should be Home # features/steps/project/project_active_tab.rb:9 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Project Files | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's files page # features/steps/shared/paths.rb:112 | |
| ✔ Then the active main tab should be Files # features/steps/project/project_active_tab.rb:13 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Project Commits | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's commits page # features/steps/shared/paths.rb:116 | |
| ✔ Then the active main tab should be Commits # features/steps/project/project_active_tab.rb:17 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Project Network | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's network page # features/steps/shared/paths.rb:128 | |
| ✔ Then the active main tab should be Network # features/steps/project/project_active_tab.rb:21 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Project Issues | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's issues page # features/steps/shared/paths.rb:135 | |
| ✔ Then the active main tab should be Issues # features/steps/project/project_active_tab.rb:25 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Project Merge Requests | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's merge requests page # features/steps/shared/paths.rb:139 | |
| ✔ Then the active main tab should be Merge Requests # features/steps/project/project_active_tab.rb:29 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Project Wall | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's wall page # features/steps/shared/paths.rb:143 | |
| ✔ Then the active main tab should be Wall # features/steps/project/project_active_tab.rb:33 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Project Wiki | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's wiki page # features/steps/shared/paths.rb:147 | |
| ✔ Then the active main tab should be Wiki # features/steps/project/project_active_tab.rb:37 | |
| ✔ And no other main tabs should be active # features/steps/shared/active_tab.rb:12 | |
| Scenario: On Project Home/Show | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's home page # features/steps/shared/paths.rb:108 | |
| ✔ Then the active sub tab should be Show # features/steps/project/project_active_tab.rb:67 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Home # features/steps/project/project_active_tab.rb:9 | |
| Scenario: On Project Home/Team | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's home page # features/steps/shared/paths.rb:108 | |
| ✔ And I click the "Team" tab # features/steps/project/project_active_tab.rb:43 | |
| ✔ Then the active sub tab should be Team # features/steps/project/project_active_tab.rb:71 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Home # features/steps/project/project_active_tab.rb:9 | |
| Scenario: On Project Home/Attachments | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's home page # features/steps/shared/paths.rb:108 | |
| ✔ And I click the "Attachments" tab # features/steps/project/project_active_tab.rb:47 | |
| ✔ Then the active sub tab should be Attachments # features/steps/project/project_active_tab.rb:75 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Home # features/steps/project/project_active_tab.rb:9 | |
| Scenario: On Project Home/Snippets | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's home page # features/steps/shared/paths.rb:108 | |
| ✔ And I click the "Snippets" tab # features/steps/project/project_active_tab.rb:51 | |
| ✔ Then the active sub tab should be Snippets # features/steps/project/project_active_tab.rb:79 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Home # features/steps/project/project_active_tab.rb:9 | |
| Scenario: On Project Home/Edit | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's home page # features/steps/shared/paths.rb:108 | |
| ✔ And I click the "Edit" tab # features/steps/project/project_active_tab.rb:55 | |
| ✔ Then the active sub tab should be Edit # features/steps/project/project_active_tab.rb:83 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Home # features/steps/project/project_active_tab.rb:9 | |
| Scenario: On Project Home/Hooks | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's home page # features/steps/shared/paths.rb:108 | |
| ✔ And I click the "Hooks" tab # features/steps/project/project_active_tab.rb:59 | |
| ✔ Then the active sub tab should be Hooks # features/steps/project/project_active_tab.rb:87 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Home # features/steps/project/project_active_tab.rb:9 | |
| Scenario: On Project Home/Deploy Keys | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's home page # features/steps/shared/paths.rb:108 | |
| ✔ And I click the "Deploy Keys" tab # features/steps/project/project_active_tab.rb:63 | |
| ✔ Then the active sub tab should be Deploy Keys # features/steps/project/project_active_tab.rb:91 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Home # features/steps/project/project_active_tab.rb:9 | |
| Scenario: On Project Commits/Commits | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's commits page # features/steps/shared/paths.rb:116 | |
| ✔ Then the active sub tab should be Commits # features/steps/project/project_active_tab.rb:109 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Commits # features/steps/project/project_active_tab.rb:17 | |
| Scenario: On Project Commits/Compare | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's commits page # features/steps/shared/paths.rb:116 | |
| ✔ And I click the "Compare" tab # features/steps/project/project_active_tab.rb:97 | |
| ✔ Then the active sub tab should be Compare # features/steps/project/project_active_tab.rb:113 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Commits # features/steps/project/project_active_tab.rb:17 | |
| Scenario: On Project Commits/Branches | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's commits page # features/steps/shared/paths.rb:116 | |
| ✔ And I click the "Branches" tab # features/steps/project/project_active_tab.rb:101 | |
| ✔ Then the active sub tab should be Branches # features/steps/project/project_active_tab.rb:117 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Commits # features/steps/project/project_active_tab.rb:17 | |
| Scenario: On Project Commits/Tags | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's commits page # features/steps/shared/paths.rb:116 | |
| ✔ And I click the "Tags" tab # features/steps/project/project_active_tab.rb:105 | |
| ✔ Then the active sub tab should be Tags # features/steps/project/project_active_tab.rb:121 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Commits # features/steps/project/project_active_tab.rb:17 | |
| Scenario: On Project Issues/Browse | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's issues page # features/steps/shared/paths.rb:135 | |
| ✔ Then the active sub tab should be Browse Issues # features/steps/project/project_active_tab.rb:135 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Issues # features/steps/project/project_active_tab.rb:25 | |
| Scenario: On Project Issues/Milestones | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's issues page # features/steps/shared/paths.rb:135 | |
| ✔ And I click the "Milestones" tab # features/steps/project/project_active_tab.rb:127 | |
| ✔ Then the active sub tab should be Milestones # features/steps/project/project_active_tab.rb:139 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Issues # features/steps/project/project_active_tab.rb:25 | |
| Scenario: On Project Issues/Labels | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ Given I visit my project's issues page # features/steps/shared/paths.rb:135 | |
| ✔ And I click the "Labels" tab # features/steps/project/project_active_tab.rb:131 | |
| ✔ Then the active sub tab should be Labels # features/steps/project/project_active_tab.rb:143 | |
| ✔ And no other sub tabs should be active # features/steps/shared/active_tab.rb:16 | |
| ✔ And the active main tab should be Issues # features/steps/project/project_active_tab.rb:25 | |
| Feature: Project Browse branches | |
| Scenario: I can see project recent git branches | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" has protected branches # features/steps/project/project_browse_branches.rb:31 | |
| ✔ Given I visit project branches page # features/steps/shared/paths.rb:164 | |
| ✔ Then I should see "Shop" recent branches list # features/steps/project/project_browse_branches.rb:6 | |
| Scenario: I can see project all git branches | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" has protected branches # features/steps/project/project_browse_branches.rb:31 | |
| ✔ Given I visit project branches page # features/steps/shared/paths.rb:164 | |
| ✔ Given I click link "All" # features/steps/project/project_browse_branches.rb:11 | |
| ✔ Then I should see "Shop" all branches list # features/steps/project/project_browse_branches.rb:15 | |
| Scenario: I can see project protected git branches | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" has protected branches # features/steps/project/project_browse_branches.rb:31 | |
| ✔ Given I visit project branches page # features/steps/shared/paths.rb:164 | |
| ✔ Given I click link "Protected" # features/steps/project/project_browse_branches.rb:20 | |
| ✔ Then I should see "Shop" protected branches list # features/steps/project/project_browse_branches.rb:24 | |
| Feature: Project Browse commits | |
| Scenario: I browse commits list for master branch | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ And I visit my project's commits page# features/steps/shared/paths.rb:116 | |
| ✔ Then I see project commits # features/steps/project/project_browse_commits.rb:6 | |
| Scenario: I browse atom feed of commits list for master branch | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ And I visit my project's commits page# features/steps/shared/paths.rb:116 | |
| ✔ Given I click atom feed link # features/steps/project/project_browse_commits.rb:13 | |
| ✔ Then I see commits atom feed # features/steps/project/project_browse_commits.rb:17 | |
| Scenario: I browse commit from list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ And I visit my project's commits page# features/steps/shared/paths.rb:116 | |
| ✔ Given I click on commit link # features/steps/project/project_browse_commits.rb:25 | |
| ✔ Then I see commit info # features/steps/project/project_browse_commits.rb:29 | |
| Scenario: I compare refs | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ And I visit my project's commits page # features/steps/shared/paths.rb:116 | |
| ✔ Given I visit compare refs page # features/steps/shared/paths.rb:168 | |
| ✔ And I fill compare fields with refs # features/steps/project/project_browse_commits.rb:34 | |
| ✔ Then I see compared refs # features/steps/project/project_browse_commits.rb:40 | |
| Scenario: I browse commits for a specific path | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ And I visit my project's commits page # features/steps/shared/paths.rb:116 | |
| ✔ Given I visit my project's commits page for a specific path # features/steps/shared/paths.rb:120 | |
| ✔ Then I see breadcrumb links # features/steps/project/project_browse_commits.rb:46 | |
| Scenario: I browse commits stats | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own a project # features/steps/shared/project.rb:5 | |
| ✔ And I visit my project's commits page # features/steps/shared/paths.rb:116 | |
| ✔ Given I visit my project's commits stats page # features/steps/shared/paths.rb:124 | |
| ✔ Then I see commits stats # features/steps/project/project_browse_commits.rb:55 | |
| Feature: Project Comment commit | |
| Scenario: I comment commit | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project commit page # features/steps/shared/paths.rb:196 | |
| ✔ Given I leave a comment like "XML attached" # features/steps/shared/note.rb:4 | |
| ✔ Then I should see comment "XML attached" # features/steps/shared/note.rb:9 | |
| Feature: Project Browse tags | |
| Scenario: I can see all git tags | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project tags page # features/steps/shared/paths.rb:192 | |
| ✔ Then I should see "Shop" all tags list # features/steps/project/project_browse_tags.rb:6 | |
| Feature: Create Project | |
| Scenario: User create a project | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ When I visit new project page # features/steps/shared/paths.rb:4 | |
| ✔ And fill project form with valid data # features/steps/project/create_project.rb:5 | |
| ✔ Then I should see project page # features/steps/project/create_project.rb:10 | |
| ✔ And I should see empty project instuctions # features/steps/project/create_project.rb:15 | |
| Feature: Project Hooks | |
| Scenario: I should see hook list | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given project has hook # features/steps/project/project_hooks.rb:8 | |
| ✔ When I visit project hooks page # features/steps/shared/paths.rb:151 | |
| ✔ Then I should see project hook # features/steps/project/project_hooks.rb:12 | |
| Scenario: I add new hook | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project hooks page # features/steps/shared/paths.rb:151 | |
| ✔ When I submit new hook # features/steps/project/project_hooks.rb:16 | |
| ✔ Then I should see newly created hook # features/steps/project/project_hooks.rb:22 | |
| Scenario: I test hook | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given project has hook # features/steps/project/project_hooks.rb:8 | |
| ✔ And I visit project hooks page # features/steps/shared/paths.rb:151 | |
| ✔ When I click test hook button # features/steps/project/project_hooks.rb:27 | |
| ✔ Then hook should be triggered # features/steps/project/project_hooks.rb:33 | |
| Feature: Project Issues | |
| Scenario: I should see open issues | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue # features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue # features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I should see "Release 0.4" in issues # features/steps/project/project_issues.rb:7 | |
| ✔ And I should not see "Release 0.3" in issues # features/steps/project/project_issues.rb:11 | |
| Scenario: I should see closed issues | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue # features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue # features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I click link "Closed" # features/steps/project/project_issues.rb:15 | |
| ✔ Then I should see "Release 0.3" in issues # features/steps/project/project_issues.rb:19 | |
| ✔ And I should not see "Release 0.4" in issues # features/steps/project/project_issues.rb:23 | |
| Scenario: I should see all issues | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue# features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue# features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I click link "All" # features/steps/project/project_issues.rb:27 | |
| ✔ Then I should see "Release 0.3" in issues # features/steps/project/project_issues.rb:19 | |
| ✔ And I should see "Release 0.4" in issues # features/steps/project/project_issues.rb:7 | |
| Scenario: I visit issue page | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue# features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue# features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I click link "Release 0.4" # features/steps/project/project_issues.rb:31 | |
| ✔ Then I should see issue "Release 0.4" # features/steps/project/project_issues.rb:35 | |
| Scenario: I submit new unassigned issue | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue # features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue # features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I click link "New Issue" # features/steps/project/project_issues.rb:39 | |
| ✔ And I submit new issue "500 error on profile" # features/steps/project/project_issues.rb:43 | |
| ✔ Given I click link "500 error on profile" # features/steps/project/project_issues.rb:48 | |
| ✔ Then I should see issue "500 error on profile" # features/steps/project/project_issues.rb:52 | |
| Scenario: I comment issue | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue# features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue# features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I visit issue page "Release 0.4" # features/steps/shared/paths.rb:204 | |
| ✔ And I leave a comment like "XML attached" # features/steps/shared/note.rb:4 | |
| ✔ Then I should see comment "XML attached" # features/steps/shared/note.rb:9 | |
| Scenario: I search issue | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue # features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue # features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I fill in issue search with "Release" # features/steps/project/project_issues.rb:59 | |
| ✔ Then I should see "Release 0.4" in issues # features/steps/project/project_issues.rb:7 | |
| ✔ And I should not see "Release 0.3" in issues # features/steps/project/project_issues.rb:11 | |
| Scenario: I search issue that not exist | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue # features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue # features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I fill in issue search with "Bug" # features/steps/project/project_issues.rb:63 | |
| ✔ Then I should not see "Release 0.4" in issues # features/steps/project/project_issues.rb:23 | |
| ✔ And I should not see "Release 0.3" in issues # features/steps/project/project_issues.rb:11 | |
| Scenario: I search all issues | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue # features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue # features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given I click link "All" # features/steps/project/project_issues.rb:27 | |
| ✔ And I fill in issue search with "0.3" # features/steps/project/project_issues.rb:67 | |
| ✔ Then I should see "Release 0.3" in issues # features/steps/project/project_issues.rb:19 | |
| ✔ And I should not see "Release 0.4" in issues # features/steps/project/project_issues.rb:23 | |
| Scenario: I create Issue with pre-selected milestone | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue # features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue # features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ Given project "Shop" has milestone "v2.2" # features/steps/project/project_issues.rb:79 | |
| ✔ And project "Shop" has milestone "v3.0" # features/steps/project/project_issues.rb:86 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ When I select milestone "v3.0" # features/steps/project/project_issues.rb:93 | |
| ✔ And I click link "New Issue" # features/steps/project/project_issues.rb:39 | |
| ✔ Then I should see selected milestone with title "v3.0" # features/steps/project/project_issues.rb:97 | |
| Scenario: I create Issue with pre-selected assignee | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Release 0.4" open issue # features/steps/project/project_issues.rb:115 | |
| ✔ And project "Shop" have "Release 0.3" closed issue # features/steps/project/project_issues.rb:123 | |
| ✔ And I visit project "Shop" issues page # features/steps/shared/paths.rb:200 | |
| ✔ When I select first assignee from "Shop" project # features/steps/project/project_issues.rb:102 | |
| ✔ And I click link "New Issue" # features/steps/project/project_issues.rb:39 | |
| ✔ Then I should see first assignee from "Shop" as selected assignee # features/steps/project/project_issues.rb:108 | |
| Feature: Project Labels | |
| Scenario: I should see active milestones | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have issues tags: "bug", "feature"# features/steps/project/project_labels.rb:18 | |
| ✔ Given I visit project "Shop" labels page# features/steps/shared/paths.rb:209 | |
| ✔ Then I should see label "bug" # features/steps/project/project_labels.rb:6 | |
| ✔ And I should see label "feature" # features/steps/project/project_labels.rb:12 | |
| Feature: Project Milestones | |
| Scenario: I should see active milestones | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" has milestone "v2.2" # features/steps/project/project_milestones.rb:33 | |
| ✔ Given I visit project "Shop" milestones page# features/steps/shared/paths.rb:222 | |
| ✔ Then I should see milestone "v2.2" # features/steps/project/project_milestones.rb:6 | |
| Scenario: I should see milestone | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" has milestone "v2.2" # features/steps/project/project_milestones.rb:33 | |
| ✔ Given I visit project "Shop" milestones page# features/steps/shared/paths.rb:222 | |
| ✔ Given I click link "v2.2" # features/steps/project/project_milestones.rb:13 | |
| ✔ Then I should see milestone "v2.2" # features/steps/project/project_milestones.rb:6 | |
| Scenario: I create new milestone | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" has milestone "v2.2" # features/steps/project/project_milestones.rb:33 | |
| ✔ Given I visit project "Shop" milestones page# features/steps/shared/paths.rb:222 | |
| ✔ Given I click link "New Milestone" # features/steps/project/project_milestones.rb:17 | |
| ✔ And I submit new milestone "v2.3" # features/steps/project/project_milestones.rb:21 | |
| ✔ Then I should see milestone "v2.3" # features/steps/project/project_milestones.rb:26 | |
| Scenario: Listing closed issues | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" has milestone "v2.2" # features/steps/project/project_milestones.rb:33 | |
| ✔ Given I visit project "Shop" milestones page # features/steps/shared/paths.rb:222 | |
| ✔ Given the milestone has open and closed issues # features/steps/project/project_milestones.rb:40 | |
| ✔ And I click link "v2.2" # features/steps/project/project_milestones.rb:13 | |
| ✔ Then I should see 3 issues # features/steps/project/project_milestones.rb:52 | |
| ✔ When I click link "All Issues" # features/steps/project/project_milestones.rb:48 | |
| ✔ Then I should see 4 issues # features/steps/project/project_milestones.rb:57 | |
| Feature: Project Merge Requests | |
| Scenario: I should see open merge requests | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Bug NS-04" open merge request # features/steps/project/project_merge_requests.rb:64 | |
| ✔ And project "Shop" have "Feature NS-03" closed merge request # features/steps/project/project_merge_requests.rb:72 | |
| ✔ And I visit project "Shop" merge requests page # features/steps/shared/paths.rb:218 | |
| ✔ Then I should see "Bug NS-04" in merge requests # features/steps/project/project_merge_requests.rb:7 | |
| ✔ And I should not see "Feature NS-03" in merge requests # features/steps/project/project_merge_requests.rb:11 | |
| Scenario: I should see closed merge requests | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Bug NS-04" open merge request # features/steps/project/project_merge_requests.rb:64 | |
| ✔ And project "Shop" have "Feature NS-03" closed merge request# features/steps/project/project_merge_requests.rb:72 | |
| ✔ And I visit project "Shop" merge requests page # features/steps/shared/paths.rb:218 | |
| ✔ Given I click link "Closed" # features/steps/project/project_merge_requests.rb:15 | |
| ✔ Then I should see "Feature NS-03" in merge requests # features/steps/project/project_merge_requests.rb:19 | |
| ✔ And I should not see "Bug NS-04" in merge requests # features/steps/project/project_merge_requests.rb:23 | |
| Scenario: I should see all merge requests | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Bug NS-04" open merge request # features/steps/project/project_merge_requests.rb:64 | |
| ✔ And project "Shop" have "Feature NS-03" closed merge request# features/steps/project/project_merge_requests.rb:72 | |
| ✔ And I visit project "Shop" merge requests page # features/steps/shared/paths.rb:218 | |
| ✔ Given I click link "All" # features/steps/project/project_merge_requests.rb:27 | |
| ✔ Then I should see "Feature NS-03" in merge requests # features/steps/project/project_merge_requests.rb:19 | |
| ✔ And I should see "Bug NS-04" in merge requests # features/steps/project/project_merge_requests.rb:7 | |
| Scenario: I visit merge request page | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Bug NS-04" open merge request# features/steps/project/project_merge_requests.rb:64 | |
| ✔ And project "Shop" have "Feature NS-03" closed merge request# features/steps/project/project_merge_requests.rb:72 | |
| ✔ And I visit project "Shop" merge requests page # features/steps/shared/paths.rb:218 | |
| ✔ Given I click link "Bug NS-04" # features/steps/project/project_merge_requests.rb:31 | |
| ✔ Then I should see merge request "Bug NS-04" # features/steps/project/project_merge_requests.rb:35 | |
| Scenario: I close merge request page | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Bug NS-04" open merge request # features/steps/project/project_merge_requests.rb:64 | |
| ✔ And project "Shop" have "Feature NS-03" closed merge request# features/steps/project/project_merge_requests.rb:72 | |
| ✔ And I visit project "Shop" merge requests page # features/steps/shared/paths.rb:218 | |
| ✔ Given I click link "Bug NS-04" # features/steps/project/project_merge_requests.rb:31 | |
| ✔ And I click link "Close" # features/steps/project/project_merge_requests.rb:39 | |
| ✔ Then I should see closed merge request "Bug NS-04" # features/steps/project/project_merge_requests.rb:43 | |
| Scenario: I submit new unassigned merge request | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Bug NS-04" open merge request# features/steps/project/project_merge_requests.rb:64 | |
| ✔ And project "Shop" have "Feature NS-03" closed merge request# features/steps/project/project_merge_requests.rb:72 | |
| ✔ And I visit project "Shop" merge requests page # features/steps/shared/paths.rb:218 | |
| ✔ Given I click link "New Merge Request" # features/steps/project/project_merge_requests.rb:49 | |
| ✔ And I submit new merge request "Wiki Feature" # features/steps/project/project_merge_requests.rb:53 | |
| ✔ Then I should see merge request "Wiki Feature" # features/steps/project/project_merge_requests.rb:60 | |
| Scenario: I comment merge request | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And project "Shop" have "Bug NS-04" open merge request# features/steps/project/project_merge_requests.rb:64 | |
| ✔ And project "Shop" have "Feature NS-03" closed merge request# features/steps/project/project_merge_requests.rb:72 | |
| ✔ And I visit project "Shop" merge requests page # features/steps/shared/paths.rb:218 | |
| ✔ Given I visit merge request page "Bug NS-04" # features/steps/shared/paths.rb:213 | |
| ✔ And I leave a comment like "XML attached" # features/steps/shared/note.rb:4 | |
| ✔ Then I should see comment "XML attached" # features/steps/shared/note.rb:9 | |
| Feature: Project Network Graph | |
| Scenario: I should see project network | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And I visit project "Shop" network page # features/steps/project/project_network_graph.rb:13 | |
| ✔ Then page should have network graph # features/steps/project/project_network_graph.rb:5 | |
| Feature: Projects | |
| Feature: Project Browse files | |
| Scenario: I browse files from master branch | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project source page # features/steps/shared/paths.rb:180 | |
| ✔ Then I should see files from repository # features/steps/project/project_browse_files.rb:6 | |
| Scenario: I browse files for specific ref | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project source page # features/steps/shared/paths.rb:180 | |
| ✔ Given I visit project source page for "8470d70" # features/steps/shared/paths.rb:188 | |
| ✔ Then I should see files from repository for "8470d70" # features/steps/project/project_browse_files.rb:12 | |
| Scenario: I browse file content | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project source page # features/steps/shared/paths.rb:180 | |
| ✔ Given I click on "Gemfile" file in repo # features/steps/project/project_browse_files.rb:19 | |
| ✔ Then I should see it content # features/steps/project/project_browse_files.rb:23 | |
| Scenario: I browse raw file | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project source page # features/steps/shared/paths.rb:180 | |
| ✔ Given I visit blob file from repo # features/steps/shared/paths.rb:184 | |
| ✔ And I click link "raw" # features/steps/project/project_browse_files.rb:27 | |
| ✔ Then I should see raw file content # features/steps/project/project_browse_files.rb:31 | |
| Scenario: I can edit file | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project source page # features/steps/shared/paths.rb:180 | |
| ✔ Given I click on "Gemfile" file in repo # features/steps/project/project_browse_files.rb:19 | |
| ✔ And I click button "edit" # features/steps/project/project_browse_files.rb:35 | |
| ✔ Then I can edit code # features/steps/project/project_browse_files.rb:39 | |
| Feature: Project Browse git repo | |
| Scenario: I blame file | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project source page # features/steps/shared/paths.rb:180 | |
| ✔ Given I click on "Gemfile" file in repo # features/steps/project/project_browse_git_repo.rb:6 | |
| ✔ And I click blame button # features/steps/project/project_browse_git_repo.rb:10 | |
| ✔ Then I should see git file blame # features/steps/project/project_browse_git_repo.rb:14 | |
| Feature: Project Team management | |
| Scenario: See all team members | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And gitlab user "Mike" # features/steps/project/project_team_management.rb:76 | |
| ✔ And gitlab user "Sam" # features/steps/project/project_team_management.rb:80 | |
| ✔ And "Sam" is "Shop" developer # features/steps/project/project_team_management.rb:84 | |
| ✔ And I visit project "Shop" team page # features/steps/shared/paths.rb:227 | |
| ✔ Then I should be able to see myself in team # features/steps/project/project_team_management.rb:6 | |
| ✔ And I should see "Sam" in team list # features/steps/project/project_team_management.rb:11 | |
| Scenario: Add user to project | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And gitlab user "Mike" # features/steps/project/project_team_management.rb:76 | |
| ✔ And gitlab user "Sam" # features/steps/project/project_team_management.rb:80 | |
| ✔ And "Sam" is "Shop" developer # features/steps/project/project_team_management.rb:84 | |
| ✔ And I visit project "Shop" team page # features/steps/shared/paths.rb:227 | |
| ✔ Given I click link "New Team Member" # features/steps/project/project_team_management.rb:17 | |
| ✔ And I select "Mike" as "Reporter" # features/steps/project/project_team_management.rb:21 | |
| ✔ Then I should see "Mike" in team list as "Reporter" # features/steps/project/project_team_management.rb:30 | |
| Scenario: Update user access | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And gitlab user "Mike" # features/steps/project/project_team_management.rb:76 | |
| ✔ And gitlab user "Sam" # features/steps/project/project_team_management.rb:80 | |
| ✔ And "Sam" is "Shop" developer # features/steps/project/project_team_management.rb:84 | |
| ✔ And I visit project "Shop" team page # features/steps/shared/paths.rb:227 | |
| ✔ Given I should see "Sam" in team list as "Developer" # features/steps/project/project_team_management.rb:36 | |
| ✔ And I change "Sam" role to "Reporter" # features/steps/project/project_team_management.rb:42 | |
| ✔ Then I visit project "Shop" team page # features/steps/shared/paths.rb:227 | |
| ✔ And I should see "Sam" in team list as "Reporter" # features/steps/project/project_team_management.rb:49 | |
| Scenario: View team member profile | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And gitlab user "Mike" # features/steps/project/project_team_management.rb:76 | |
| ✔ And gitlab user "Sam" # features/steps/project/project_team_management.rb:80 | |
| ✔ And "Sam" is "Shop" developer # features/steps/project/project_team_management.rb:84 | |
| ✔ And I visit project "Shop" team page # features/steps/shared/paths.rb:227 | |
| ✔ Given I click link "Sam" # features/steps/project/project_team_management.rb:55 | |
| ✔ Then I should see "Sam" team profile # features/steps/project/project_team_management.rb:59 | |
| Scenario: Cancel team member | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And gitlab user "Mike" # features/steps/project/project_team_management.rb:76 | |
| ✔ And gitlab user "Sam" # features/steps/project/project_team_management.rb:80 | |
| ✔ And "Sam" is "Shop" developer # features/steps/project/project_team_management.rb:84 | |
| ✔ And I visit project "Shop" team page # features/steps/shared/paths.rb:227 | |
| ✔ Given I click link "Sam" # features/steps/project/project_team_management.rb:55 | |
| ✔ And I click link "Remove from team" # features/steps/project/project_team_management.rb:66 | |
| ✔ Then I visit project "Shop" team page # features/steps/shared/paths.rb:227 | |
| ✔ And I should not see "Sam" in team list # features/steps/project/project_team_management.rb:70 | |
| Scenario: Import team from another project | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And gitlab user "Mike" # features/steps/project/project_team_management.rb:76 | |
| ✔ And gitlab user "Sam" # features/steps/project/project_team_management.rb:80 | |
| ✔ And "Sam" is "Shop" developer # features/steps/project/project_team_management.rb:84 | |
| ✔ And I visit project "Shop" team page # features/steps/shared/paths.rb:227 | |
| ✔ Given I own project "Website" # features/steps/project/project_team_management.rb:90 | |
| ✔ And "Mike" is "Website" reporter # features/steps/project/project_team_management.rb:95 | |
| ✔ And I click link "Import team from another project" # features/steps/project/project_team_management.rb:101 | |
| ✔ When I submit "Website" project for import team # features/steps/project/project_team_management.rb:105 | |
| ✔ Then I should see "Mike" in team list as "Reporter" # features/steps/project/project_team_management.rb:30 | |
| Feature: Project Wall | |
| Scenario: Write comment | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ And I visit project "Shop" wall page # features/steps/shared/paths.rb:231 | |
| ✔ Given I write new comment "my special test message" # features/steps/shared/note.rb:13 | |
| ✔ Then I should see project wall note "my special test message" # features/steps/shared/note.rb:18 | |
| ✔ Then I visit project "Shop" wall page # features/steps/shared/paths.rb:231 | |
| ✔ And I should see project wall note "my special test message" # features/steps/shared/note.rb:18 | |
| Feature: Project Wiki | |
| Scenario: Add new page | |
| ✔ Given I sign in as a user # features/steps/shared/authentication.rb:7 | |
| ✔ And I own project "Shop" # features/steps/shared/project.rb:11 | |
| ✔ Given I visit project wiki page # features/steps/shared/paths.rb:236 | |
| ✔ Given I create Wiki page # features/steps/project/project_wiki.rb:7 | |
| ✔ Then I should see newly created wiki page # features/steps/project/project_wiki.rb:13 | |
| Steps Summary: (696) Successful, (0) Undefined, (0) Pending, (0) Failed, (0) Error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment