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
69e0ebdb
Commit
69e0ebdb
authored
Jun 30, 2020
by
ddavison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 1_manage tests to use outer describe
Do not use monkey patching for RSpec
parent
3898d95e
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
30 additions
and
30 deletions
+30
-30
qa/qa/specs/features/api/1_manage/.gitkeep
qa/qa/specs/features/api/1_manage/.gitkeep
+0
-0
qa/qa/specs/features/api/1_manage/rate_limits_spec.rb
qa/qa/specs/features/api/1_manage/rate_limits_spec.rb
+1
-1
qa/qa/specs/features/api/1_manage/users_spec.rb
qa/qa/specs/features/api/1_manage/users_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/group/create_group_with_mattermost_team_spec.rb
.../1_manage/group/create_group_with_mattermost_team_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/group/transfer_project_spec.rb
...atures/browser_ui/1_manage/group/transfer_project_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb
...a/specs/features/browser_ui/1_manage/login/log_in_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/login/log_into_gitlab_via_ldap_spec.rb
...rowser_ui/1_manage/login/log_into_gitlab_via_ldap_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/login/log_into_mattermost_via_gitlab_spec.rb
..._ui/1_manage/login/log_into_mattermost_via_gitlab_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/login/login_via_instance_wide_saml_sso_spec.rb
...i/1_manage/login/login_via_instance_wide_saml_sso_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb
...specs/features/browser_ui/1_manage/login/register_spec.rb
+3
-3
qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb
...es/browser_ui/1_manage/project/add_project_member_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/project/create_project_spec.rb
...atures/browser_ui/1_manage/project/create_project_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/project/dashboard_images_spec.rb
...ures/browser_ui/1_manage/project/dashboard_images_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/project/import_github_repo_spec.rb
...es/browser_ui/1_manage/project/import_github_repo_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/project/protected_tags_spec.rb
...atures/browser_ui/1_manage/project/protected_tags_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/1_manage/project/view_project_activity_spec.rb
...browser_ui/1_manage/project/view_project_activity_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/.gitkeep
qa/qa/specs/features/ee/browser_ui/1_manage/.gitkeep
+0
-0
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_audit_logs_1_spec.rb
...s/ee/browser_ui/1_manage/group/group_audit_logs_1_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_audit_logs_2_spec.rb
...s/ee/browser_ui/1_manage/group/group_audit_logs_2_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_file_template_spec.rb
.../ee/browser_ui/1_manage/group/group_file_template_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_ldap_sync_spec.rb
...ures/ee/browser_ui/1_manage/group/group_ldap_sync_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb
...browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_group_managed_accounts_spec.rb
.../1_manage/group/group_saml_group_managed_accounts_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_non_enforced_sso_spec.rb
...ser_ui/1_manage/group/group_saml_non_enforced_sso_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/group/restrict_by_ip_address_spec.rb
.../browser_ui/1_manage/group/restrict_by_ip_address_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/insights/default_insights_spec.rb
.../ee/browser_ui/1_manage/insights/default_insights_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb
.../browser_ui/1_manage/instance/instance_audit_logs_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/ldap/admin_ldap_sync_spec.rb
...tures/ee/browser_ui/1_manage/ldap/admin_ldap_sync_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
...ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_templates_spec.rb
.../ee/browser_ui/1_manage/project/project_templates_spec.rb
+1
-1
No files found.
qa/qa/specs/features/api/1_manage/.gitkeep
deleted
100644 → 0
View file @
3898d95e
qa/qa/specs/features/api/1_manage/rate_limits_spec.rb
View file @
69e0ebdb
...
...
@@ -3,7 +3,7 @@
require
'airborne'
module
QA
context
'Manage with IP rate limits'
,
:requires_admin
do
RSpec
.
describe
'Manage with IP rate limits'
,
:requires_admin
do
describe
'Users API'
do
let
(
:api_client
)
{
Runtime
::
API
::
Client
.
new
(
:gitlab
,
ip_limits:
true
)
}
let
(
:request
)
{
Runtime
::
API
::
Request
.
new
(
api_client
,
'/users'
)
}
...
...
qa/qa/specs/features/api/1_manage/users_spec.rb
View file @
69e0ebdb
...
...
@@ -3,7 +3,7 @@
require
'airborne'
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
describe
'Users API'
do
before
(
:context
)
do
@api_client
=
Runtime
::
API
::
Client
.
new
(
:gitlab
)
...
...
qa/qa/specs/features/browser_ui/1_manage/group/create_group_with_mattermost_team_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Configure'
,
:orchestrated
,
:mattermost
do
RSpec
.
describe
'Configure'
,
:orchestrated
,
:mattermost
do
describe
'Mattermost support'
do
it
'user creates a group with a mattermost team'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/1_manage/group/transfer_project_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
describe
'Project transfer between groups'
do
it
'user transfers a project between groups'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:smoke
do
RSpec
.
describe
'Manage'
,
:smoke
do
describe
'basic user login'
do
it
'user logs in using basic credentials and logs out'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/1_manage/login/log_into_gitlab_via_ldap_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:orchestrated
,
:ldap_no_tls
,
:ldap_tls
do
RSpec
.
describe
'Manage'
,
:orchestrated
,
:ldap_no_tls
,
:ldap_tls
do
describe
'LDAP login'
do
it
'user logs into GitLab using LDAP credentials'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/1_manage/login/log_into_mattermost_via_gitlab_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:orchestrated
,
:mattermost
do
RSpec
.
describe
'Manage'
,
:orchestrated
,
:mattermost
do
describe
'Mattermost login'
do
it
'user logs into Mattermost using GitLab OAuth'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/1_manage/login/login_via_instance_wide_saml_sso_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:orchestrated
,
:instance_saml
do
RSpec
.
describe
'Manage'
,
:orchestrated
,
:instance_saml
do
describe
'Instance wide SAML SSO'
do
it
'User logs in to gitlab with SAML SSO'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
qa/qa/specs/features/browser_ui/1_manage/login/register_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
shared_examples
'registration and login'
do
RSpec
.
shared_examples
'registration and login'
do
it
'user registers and logs in'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
@@ -13,13 +13,13 @@ module QA
end
end
context
'Manage'
,
:skip_signup_disabled
do
RSpec
.
describe
'Manage'
,
:skip_signup_disabled
do
describe
'standard'
do
it_behaves_like
'registration and login'
end
end
context
'Manage'
,
:orchestrated
,
:ldap_no_tls
,
:skip_signup_disabled
do
RSpec
.
describe
'Manage'
,
:orchestrated
,
:ldap_no_tls
,
:skip_signup_disabled
do
describe
'while LDAP is enabled'
do
it_behaves_like
'registration and login'
end
...
...
qa/qa/specs/features/browser_ui/1_manage/project/add_project_member_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
describe
'Add project member'
do
it
'user adds project member'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/1_manage/project/create_project_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:smoke
do
RSpec
.
describe
'Manage'
,
:smoke
do
describe
'Project creation'
do
it
'user creates a new project'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/1_manage/project/dashboard_images_spec.rb
View file @
69e0ebdb
...
...
@@ -3,7 +3,7 @@
require
'nokogiri'
module
QA
context
'Manage'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/212145'
,
type: :stale
}
do
RSpec
.
describe
'Manage'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/212145'
,
type: :stale
}
do
describe
'Check for broken images'
,
:requires_admin
do
before
(
:context
)
do
admin
=
QA
::
Resource
::
User
.
new
.
tap
do
|
user
|
...
...
qa/qa/specs/features/browser_ui/1_manage/project/import_github_repo_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:github
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/issues/26952'
,
type: :bug
}
do
RSpec
.
describe
'Manage'
,
:github
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/issues/26952'
,
type: :bug
}
do
describe
'Project import from GitHub'
do
let
(
:imported_project
)
do
Resource
::
ProjectImportedFromGithub
.
fabricate!
do
|
project
|
...
...
qa/qa/specs/features/browser_ui/1_manage/project/protected_tags_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
describe
'Repository tags'
do
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
...
...
qa/qa/specs/features/browser_ui/1_manage/project/view_project_activity_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
describe
'Project activity'
do
it
'user creates an event in the activity page upon Git push'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/.gitkeep
deleted
100644 → 0
View file @
3898d95e
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_audit_logs_1_spec.rb
View file @
69e0ebdb
...
...
@@ -2,7 +2,7 @@
require
'securerandom'
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
include
Support
::
Api
let
(
:api_client
)
{
Runtime
::
API
::
Client
.
new
(
:gitlab
)
}
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_audit_logs_2_spec.rb
View file @
69e0ebdb
...
...
@@ -2,7 +2,7 @@
require
'securerandom'
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
shared_examples
'audit event'
do
|
expected_events
|
it
'logs audit events for UI operations'
do
Page
::
Group
::
Menu
.
perform
(
&
:go_to_audit_events_settings
)
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_file_template_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
describe
'Group file templates'
,
:requires_admin
do
include
Support
::
Api
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_ldap_sync_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:orchestrated
,
:ldap_tls
,
:ldap_no_tls
,
:requires_admin
do
RSpec
.
describe
'Manage'
,
:orchestrated
,
:ldap_tls
,
:ldap_no_tls
,
:requires_admin
do
describe
'LDAP Group sync'
do
include
Support
::
Api
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:group_saml
,
:orchestrated
do
RSpec
.
describe
'Manage'
,
:group_saml
,
:orchestrated
do
describe
'Group SAML SSO - Enforced SSO'
do
include
Support
::
Api
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_group_managed_accounts_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:group_saml
,
:orchestrated
,
:requires_admin
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/issues/202260'
,
type: :bug
}
do
RSpec
.
describe
'Manage'
,
:group_saml
,
:orchestrated
,
:requires_admin
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/issues/202260'
,
type: :bug
}
do
describe
'Group SAML SSO - Group managed accounts'
do
include
Support
::
Api
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_saml_non_enforced_sso_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:group_saml
,
:orchestrated
,
:requires_admin
do
RSpec
.
describe
'Manage'
,
:group_saml
,
:orchestrated
,
:requires_admin
do
describe
'Group SAML SSO - Non enforced SSO'
do
include
Support
::
Api
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/group/restrict_by_ip_address_spec.rb
View file @
69e0ebdb
...
...
@@ -2,7 +2,7 @@
require
'securerandom'
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
describe
'Group access'
,
:requires_admin
,
:skip_live_env
do
include
Runtime
::
IPAddress
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/insights/default_insights_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
shared_examples
'default insights page'
do
it
'displays issues and merge requests dashboards'
do
EE
::
Page
::
Insights
::
Show
.
perform
do
|
show
|
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/instance/instance_audit_logs_spec.rb
View file @
69e0ebdb
...
...
@@ -2,7 +2,7 @@
require
'securerandom'
module
QA
context
'Manage'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/218332'
,
type: :investigating
}
do
RSpec
.
describe
'Manage'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/218332'
,
type: :investigating
}
do
shared_examples
'audit event'
do
|
expected_events
|
it
'logs audit events for UI operations'
do
sign_in
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/ldap/admin_ldap_sync_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
,
:orchestrated
,
:ldap_no_server
do
RSpec
.
describe
'Manage'
,
:orchestrated
,
:ldap_no_server
do
describe
'LDAP admin sync'
do
before
do
run_ldap_service_with_user_as
(
'admin'
)
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_audit_logs_spec.rb
View file @
69e0ebdb
# frozen_string_literal: true
module
QA
context
'Manage'
do
RSpec
.
describe
'Manage'
do
shared_examples
'audit event'
do
|
expected_events
|
it
'logs audit events for UI operations'
do
Page
::
Project
::
Menu
.
perform
(
&
:go_to_audit_events_settings
)
...
...
qa/qa/specs/features/ee/browser_ui/1_manage/project/project_templates_spec.rb
View file @
69e0ebdb
...
...
@@ -2,7 +2,7 @@
require
'securerandom'
module
QA
context
:manage
do
RSpec
.
describe
'Manage'
do
describe
'Project templates'
do
before
(
:all
)
do
@files
=
[
...
...
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