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
3915e532
Commit
3915e532
authored
May 20, 2021
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make e2e test more readable
parent
32930519
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
16 deletions
+13
-16
qa/qa/specs/features/ee/browser_ui/10_protect/policy_list_spec.rb
...ecs/features/ee/browser_ui/10_protect/policy_list_spec.rb
+13
-16
No files found.
qa/qa/specs/features/ee/browser_ui/10_protect/policy_list_spec.rb
View file @
3915e532
# frozen_string_literal: true
module
QA
RSpec
.
describe
'Protect'
,
:runner
do
let
(
:approved_license_name
)
{
"MIT License"
}
let
(
:denied_license_name
)
{
"Apache License 2.0"
}
RSpec
.
describe
'Protect'
do
describe
'Threat Monitoring Policy List page'
do
before
(
:all
)
do
@executor
=
"qa-runner-
#{
Time
.
now
.
to_i
}
"
Flow
::
Login
.
sign_in
@project
=
Resource
::
Project
.
fabricate_via_api!
do
|
p
|
p
.
name
=
Runtime
::
Env
.
auto_devops_project_name
||
'project-with-protect'
p
.
description
=
'Project with Protect'
p
.
auto_devops_enabled
=
false
p
.
initialize_with_readme
=
true
before
do
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
Runtime
::
Env
.
auto_devops_project_name
||
'project-with-protect'
project
.
description
=
'Project with Protect'
project
.
auto_devops_enabled
=
false
project
.
initialize_with_readme
=
true
end
end
@project
.
visit!
end
it
'can load Threat Monitoring page and view the policy alert list'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1786'
do
Flow
::
Login
.
sign_in
project
.
visit!
Page
::
Project
::
Menu
.
perform
(
&
:click_on_threat_monitoring
)
EE
::
Page
::
Project
::
ThreatMonitoring
::
AlertsList
.
perform
do
|
alerts_list
|
...
...
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