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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
e2de17f7
Commit
e2de17f7
authored
Apr 17, 2020
by
Mehmet Emin INAC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change group_overview feature specs to use translated strings
parent
29740479
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
ee/spec/features/groups/group_overview_spec.rb
ee/spec/features/groups/group_overview_spec.rb
+10
-10
No files found.
ee/spec/features/groups/group_overview_spec.rb
View file @
e2de17f7
...
...
@@ -20,9 +20,9 @@ describe 'Group overview', :js, :aggregate_failures do
visit_page
page
.
within
(
find
(
'.content'
))
do
expect
(
page
).
to
have_content
'Subgroups and projects'
expect
(
page
).
to
have_content
'Shared projects'
expect
(
page
).
to
have_content
'Archived projects'
expect
(
page
).
to
have_content
_
(
'Subgroups and projects'
)
expect
(
page
).
to
have_content
_
(
'Shared projects'
)
expect
(
page
).
to
have_content
_
(
'Archived projects'
)
end
end
end
...
...
@@ -50,16 +50,16 @@ describe 'Group overview', :js, :aggregate_failures do
expect
(
page
).
to
have_selector
(
'.js-security-dashboard-table'
)
page
.
within
(
find
(
'aside'
))
do
expect
(
page
).
to
have_content
'Vulnerabilities over time'
expect
(
page
).
to
have_content
_
(
'Vulnerabilities over time'
)
expect
(
page
).
to
have_selector
(
'.js-vulnerabilities-chart-time-info'
)
expect
(
page
).
to
have_selector
(
'.js-vulnerabilities-chart-severity-level-breakdown'
)
expect
(
page
).
to
have_content
'Project security status'
expect
(
page
).
to
have_content
_
(
'Project security status'
)
expect
(
page
).
to
have_selector
(
'.js-projects-security-status'
)
end
page
.
within
(
all
(
'div.row'
)[
1
])
do
expect
(
page
).
not_to
have_content
'Detected'
expect
(
page
).
not_to
have_content
s_
(
'VulnerabilityStatusTypes|Detected'
)
end
end
end
...
...
@@ -73,8 +73,8 @@ describe 'Group overview', :js, :aggregate_failures do
visit_page
page
.
within
(
all
(
'div.row'
)[
1
])
do
expect
(
page
).
to
have_content
'Detected'
expect
(
page
).
to
have_content
'Severity'
expect
(
page
).
to
have_content
s_
(
'VulnerabilityStatusTypes|Detected'
)
expect
(
page
).
to
have_content
s_
(
'Vulnerability|Severity'
)
end
end
end
...
...
@@ -87,9 +87,9 @@ describe 'Group overview', :js, :aggregate_failures do
visit_page
page
.
within
(
find
(
'.content'
))
do
expect
(
page
).
to
have_content
"
Either you don't have permission to view this dashboard or "
\
expect
(
page
).
to
have_content
s_
(
"Security Reports|
Either you don't have permission to view this dashboard or "
\
'the dashboard has not been setup. Please check your permission settings '
\
'with your administrator or check your dashboard configurations to proceed.'
'with your administrator or check your dashboard configurations to proceed.'
)
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