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
bb100947
Commit
bb100947
authored
Jul 12, 2020
by
Dan Davison
Committed by
Mark Lapierre
Jul 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 3_create tests to use outer describe
Remove monkey-patch for RSpec
parent
9c3cb4d3
Changes
34
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
34 additions
and
34 deletions
+34
-34
qa/qa/specs/features/api/3_create/repository/changing_repository_storage_spec.rb
...i/3_create/repository/changing_repository_storage_spec.rb
+1
-1
qa/qa/specs/features/api/3_create/repository/files_spec.rb
qa/qa/specs/features/api/3_create/repository/files_spec.rb
+1
-1
qa/qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb
...s/api/3_create/repository/project_archive_compare_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/gitaly/high_availability_spec.rb
...ures/browser_ui/3_create/gitaly/high_availability_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/jira/jira_basic_integration_spec.rb
...s/browser_ui/3_create/jira/jira_basic_integration_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/merge_request/create_merge_request_spec.rb
...er_ui/3_create/merge_request/create_merge_request_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/merge_request/merge_merge_request_from_fork_spec.rb
...reate/merge_request/merge_merge_request_from_fork_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/merge_request/rebase_merge_request_spec.rb
...er_ui/3_create/merge_request/rebase_merge_request_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/merge_request/squash_merge_request_spec.rb
...er_ui/3_create/merge_request/squash_merge_request_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/merge_request/view_merge_request_diff_patch_spec.rb
...reate/merge_request/view_merge_request_diff_patch_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb
.../browser_ui/3_create/repository/add_file_template_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/add_list_delete_branches_spec.rb
...r_ui/3_create/repository/add_list_delete_branches_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb
...atures/browser_ui/3_create/repository/add_ssh_key_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/clone_spec.rb
...ecs/features/browser_ui/3_create/repository/clone_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/create_edit_delete_file_via_web_spec.rb
...create/repository/create_edit_delete_file_via_web_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/move_project_create_fork_spec.rb
...r_ui/3_create/repository/move_project_create_fork_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/protocol_v2_push_http_spec.rb
...wser_ui/3_create/repository/protocol_v2_push_http_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/protocol_v2_push_ssh_spec.rb
...owser_ui/3_create/repository/protocol_v2_push_ssh_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb
...er_ui/3_create/repository/push_http_private_token_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/push_mirroring_over_http_spec.rb
...r_ui/3_create/repository/push_mirroring_over_http_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb
...r_ui/3_create/repository/push_over_http_file_size_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/push_over_http_spec.rb
...res/browser_ui/3_create/repository/push_over_http_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb
...wser_ui/3_create/repository/push_protected_branch_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/use_ssh_key_spec.rb
...atures/browser_ui/3_create/repository/use_ssh_key_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/repository/user_views_commit_diff_patch_spec.rb
.../3_create/repository/user_views_commit_diff_patch_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/snippet/clone_push_pull_personal_snippet_spec.rb
...3_create/snippet/clone_push_pull_personal_snippet_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/snippet/clone_push_pull_project_snippet_spec.rb
.../3_create/snippet/clone_push_pull_project_snippet_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/snippet/create_personal_snippet_spec.rb
...owser_ui/3_create/snippet/create_personal_snippet_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/snippet/create_project_snippet_spec.rb
...rowser_ui/3_create/snippet/create_project_snippet_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb
...res/browser_ui/3_create/web_ide/add_file_template_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/web_ide/create_first_file_in_web_ide_spec.rb
..._ui/3_create/web_ide/create_first_file_in_web_ide_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/web_ide/review_merge_request_spec.rb
.../browser_ui/3_create/web_ide/review_merge_request_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/wiki/project_based_content_creation_spec.rb
...r_ui/3_create/wiki/project_based_content_creation_spec.rb
+1
-1
qa/qa/specs/features/browser_ui/3_create/wiki/project_based_content_manipulation_spec.rb
.../3_create/wiki/project_based_content_manipulation_spec.rb
+1
-1
No files found.
qa/qa/specs/features/api/3_create/repository/changing_repository_storage_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Changing Gitaly repository storage'
,
:requires_admin
do
shared_examples
'repository storage move'
do
it
'confirms a `finished` status after moving project repository storage'
do
...
...
qa/qa/specs/features/api/3_create/repository/files_spec.rb
View file @
bb100947
...
...
@@ -4,7 +4,7 @@ require 'airborne'
require
'securerandom'
module
QA
describe
'API basics'
do
RSpec
.
describe
'API basics'
do
before
(
:context
)
do
@api_client
=
Runtime
::
API
::
Client
.
new
(
:gitlab
)
end
...
...
qa/qa/specs/features/api/3_create/repository/project_archive_compare_spec.rb
View file @
bb100947
...
...
@@ -5,7 +5,7 @@ require 'securerandom'
require
'digest'
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Compare archives of different user projects with the same name and check they\'re different'
do
include
Support
::
Api
...
...
qa/qa/specs/features/browser_ui/3_create/gitaly/high_availability_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
context
'Gitaly'
do
describe
'High Availability'
,
:orchestrated
,
:gitaly_ha
do
let
(
:project
)
do
...
...
qa/qa/specs/features/browser_ui/3_create/jira/jira_basic_integration_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
include
Support
::
Api
describe
'Jira integration'
,
:jira
,
:orchestrated
,
:requires_admin
do
...
...
qa/qa/specs/features/browser_ui/3_create/merge_request/create_merge_request_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Create a new merge request'
do
before
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/merge_request/merge_merge_request_from_fork_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Merge request creation from fork'
do
it
'user forks a project, submits a merge request and maintainer merges it'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/merge_request/rebase_merge_request_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/30226'
,
type: :bug
}
do
RSpec
.
describe
'Create'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/30226'
,
type: :bug
}
do
describe
'Merge request rebasing'
do
it
'user rebases source branch of merge request'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/merge_request/squash_merge_request_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Merge request squashing'
do
it
'user squashes commits while merging'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/merge_request/view_merge_request_diff_patch_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Download merge request patch and diff'
do
before
(
:context
)
do
@merge_request
=
Resource
::
MergeRequest
.
fabricate_via_api!
do
|
merge_request
|
...
...
qa/qa/specs/features/browser_ui/3_create/repository/add_file_template_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'File templates'
do
include
Runtime
::
Fixtures
...
...
qa/qa/specs/features/browser_ui/3_create/repository/add_list_delete_branches_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Create, list, and delete branches via web'
do
master_branch
=
'master'
second_branch
=
'second-branch'
...
...
qa/qa/specs/features/browser_ui/3_create/repository/add_ssh_key_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'SSH keys support'
do
let
(
:key_title
)
{
"key for ssh tests
#{
Time
.
now
.
to_f
}
"
}
...
...
qa/qa/specs/features/browser_ui/3_create/repository/clone_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Git clone over HTTP'
,
:ldap_no_tls
do
before
(
:all
)
do
@project
=
Resource
::
Project
.
fabricate_via_api!
do
|
scenario
|
...
...
qa/qa/specs/features/browser_ui/3_create/repository/create_edit_delete_file_via_web_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Files management'
do
it
'user creates, edits and deletes a file via the Web'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
qa/qa/specs/features/browser_ui/3_create/repository/move_project_create_fork_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/217002'
,
type: :investigating
}
do
RSpec
.
describe
'Create'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/217002'
,
type: :investigating
}
do
describe
'Gitaly repository storage'
,
:orchestrated
,
:repository_storage
,
:requires_admin
do
let
(
:user
)
{
Resource
::
User
.
fabricate_or_use
(
Runtime
::
Env
.
gitlab_qa_username_1
,
Runtime
::
Env
.
gitlab_qa_password_1
)
}
let
(
:parent_project
)
do
...
...
qa/qa/specs/features/browser_ui/3_create/repository/protocol_v2_push_http_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Push over HTTP using Git protocol version 2'
,
:requires_git_protocol_v2
do
it
'user pushes to the repository'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/repository/protocol_v2_push_ssh_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Push over SSH using Git protocol version 2'
,
:requires_git_protocol_v2
do
# Note: If you run this test against GDK make sure you've enabled sshd and
# enabled setting the Git protocol by adding `AcceptEnv GIT_PROTOCOL` to
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Git push over HTTP'
,
:ldap_no_tls
do
it
'user using a personal access token pushes code to the repository'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_mirroring_over_http_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Push mirror a repository over HTTP'
do
it
'configures and syncs a (push) mirrored repository'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_over_http_file_size_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
,
:requires_admin
do
RSpec
.
describe
'Create'
,
:requires_admin
do
describe
'push after setting the file size limit via admin/application_settings'
do
# Note: The file size limits in this test should be greater than the limits in
# ee/browser_ui/3_create/repository/push_rules_spec to prevent that test from
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_over_http_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Git push over HTTP'
,
:ldap_no_tls
do
it
'user pushes code to the repository'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Protected branch support'
,
:ldap_no_tls
do
let
(
:branch_name
)
{
'protected-branch'
}
let
(
:commit_message
)
{
'Protected push commit message'
}
...
...
qa/qa/specs/features/browser_ui/3_create/repository/use_ssh_key_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'SSH key support'
do
# Note: If you run this test against GDK make sure you've enabled sshd
# See: https://gitlab.com/gitlab-org/gitlab-qa/blob/master/docs/run_qa_against_gdk.md
...
...
qa/qa/specs/features/browser_ui/3_create/repository/user_views_commit_diff_patch_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Commit data'
do
before
(
:context
)
do
# Get the user's details to confirm they're included in the email patch
...
...
qa/qa/specs/features/browser_ui/3_create/snippet/clone_push_pull_personal_snippet_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Version control for personal snippets'
do
let
(
:new_file
)
{
'new_snippet_file'
}
let
(
:changed_content
)
{
'changes'
}
...
...
qa/qa/specs/features/browser_ui/3_create/snippet/clone_push_pull_project_snippet_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Version control for project snippets'
do
let
(
:new_file
)
{
'new_snippet_file'
}
let
(
:changed_content
)
{
'changes'
}
...
...
qa/qa/specs/features/browser_ui/3_create/snippet/create_personal_snippet_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
,
:smoke
do
RSpec
.
describe
'Create'
,
:smoke
do
describe
'Personal snippet creation'
do
it
'User creates a personal snippet'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/snippet/create_project_snippet_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
# to be converted to a smoke test once proved to be stable
RSpec
.
describe
'Create'
do
# to be converted to a smoke test once proved to be stable
describe
'Project snippet creation'
do
it
'User creates a project snippet'
do
Flow
::
Login
.
sign_in
...
...
qa/qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Web IDE file templates'
do
include
Runtime
::
Fixtures
...
...
qa/qa/specs/features/browser_ui/3_create/web_ide/create_first_file_in_web_ide_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'First file using Web IDE'
do
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
...
...
qa/qa/specs/features/browser_ui/3_create/web_ide/review_merge_request_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
describe
'Review a merge request in Web IDE'
do
let
(
:new_file
)
{
'awesome_new_file.txt'
}
let
(
:original_text
)
{
'Text'
}
...
...
qa/qa/specs/features/browser_ui/3_create/wiki/project_based_content_creation_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
context
'Wiki'
do
describe
'testing wiki content creation inside a project'
do
let
(
:new_wiki_title
)
{
"just_another_wiki_page"
}
...
...
qa/qa/specs/features/browser_ui/3_create/wiki/project_based_content_manipulation_spec.rb
View file @
bb100947
# frozen_string_literal: true
module
QA
context
'Create'
do
RSpec
.
describe
'Create'
do
context
'Wiki'
do
describe
'testing wiki content manipulation inside a project'
do
let
(
:new_wiki_title
)
{
"just_another_wiki_page"
}
...
...
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