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
2a3c1c59
Commit
2a3c1c59
authored
Nov 08, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve feature flag off test-case
parent
2d3183ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ee/spec/features/projects/security/user_views_security_configuration_spec.rb
...ojects/security/user_views_security_configuration_spec.rb
+3
-1
No files found.
ee/spec/features/projects/security/user_views_security_configuration_spec.rb
View file @
2a3c1c59
...
...
@@ -97,7 +97,7 @@ RSpec.describe 'User sees Security Configuration table', :js do
stub_feature_flags
(
configure_iac_scanning_via_mr:
false
)
end
it
'shows DAST
is enable
d'
do
it
'shows DAST
card at the second position and no IaC Scanning car
d'
do
visit
(
project_security_configuration_path
(
project
))
within
'[data-testid="security-testing-card"]:nth-of-type(2)'
do
...
...
@@ -105,6 +105,8 @@ RSpec.describe 'User sees Security Configuration table', :js do
expect
(
page
).
to
have_text
(
'Enabled'
)
expect
(
page
).
to
have_link
(
'Configure DAST'
)
end
expect
(
page
).
not_to
have_text
(
'Infrastructure as Code (IaC) Scanning'
)
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