Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
ee0f5bb5
Commit
ee0f5bb5
authored
Mar 04, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test for archive toggle feature
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
2c431f89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
CHANGELOG
CHANGELOG
+1
-0
features/dashboard/archived_projects.feature
features/dashboard/archived_projects.feature
+5
-0
features/steps/dashboard/archived_projects.rb
features/steps/dashboard/archived_projects.rb
+4
-0
No files found.
CHANGELOG
View file @
ee0f5bb5
...
@@ -12,6 +12,7 @@ v 8.6.0 (unreleased)
...
@@ -12,6 +12,7 @@ v 8.6.0 (unreleased)
- Allow search for logged out users
- Allow search for logged out users
- Don't show Issues/MRs from archived projects in Groups view
- Don't show Issues/MRs from archived projects in Groups view
- Increase the notes polling timeout over time (Roberto Dip)
- Increase the notes polling timeout over time (Roberto Dip)
- Add ability to show archived projects on dashboard, explore and group pages
v 8.5.4
v 8.5.4
- Do not cache requests for badges (including builds badge)
- Do not cache requests for badges (including builds badge)
...
...
features/dashboard/archived_projects.feature
View file @
ee0f5bb5
...
@@ -10,3 +10,8 @@ Feature: Dashboard Archived Projects
...
@@ -10,3 +10,8 @@ Feature: Dashboard Archived Projects
Scenario
:
I
should see non-archived projects on dashboard
Scenario
:
I
should see non-archived projects on dashboard
Then
I should see
"Shop"
project link
Then
I should see
"Shop"
project link
And
I should not see
"Forum"
project link
And
I should not see
"Forum"
project link
Scenario
:
I
toggle show of archived projects on dashboard
When
I click
"Show archived projects"
link
Then
I should see
"Shop"
project link
And
I should see
"Forum"
project link
features/steps/dashboard/archived_projects.rb
View file @
ee0f5bb5
...
@@ -19,4 +19,8 @@ class Spinach::Features::DashboardArchivedProjects < Spinach::FeatureSteps
...
@@ -19,4 +19,8 @@ class Spinach::Features::DashboardArchivedProjects < Spinach::FeatureSteps
step
'I should see "Forum" project link'
do
step
'I should see "Forum" project link'
do
expect
(
page
).
to
have_link
"Forum"
expect
(
page
).
to
have_link
"Forum"
end
end
step
'I click "Show archived projects" link'
do
click_link
"Show archived projects"
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment