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
0e0a5738
Commit
0e0a5738
authored
Sep 23, 2020
by
ddavison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update outer describe block for internal QA tests 2/2
parent
380d09a8
Changes
26
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
28 additions
and
28 deletions
+28
-28
qa/qa/specs/features/sanity/framework_spec.rb
qa/qa/specs/features/sanity/framework_spec.rb
+1
-1
qa/spec/runtime/api/request_spec.rb
qa/spec/runtime/api/request_spec.rb
+1
-1
qa/spec/runtime/key/ecdsa_spec.rb
qa/spec/runtime/key/ecdsa_spec.rb
+1
-1
qa/spec/runtime/key/ed25519_spec.rb
qa/spec/runtime/key/ed25519_spec.rb
+1
-1
qa/spec/runtime/key/rsa_spec.rb
qa/spec/runtime/key/rsa_spec.rb
+1
-1
qa/spec/scenario/actable_spec.rb
qa/spec/scenario/actable_spec.rb
+1
-1
qa/spec/scenario/bootable_spec.rb
qa/spec/scenario/bootable_spec.rb
+1
-1
qa/spec/scenario/template_spec.rb
qa/spec/scenario/template_spec.rb
+1
-1
qa/spec/scenario/test/instance/airgapped_spec.rb
qa/spec/scenario/test/instance/airgapped_spec.rb
+1
-1
qa/spec/scenario/test/instance/all_spec.rb
qa/spec/scenario/test/instance/all_spec.rb
+1
-1
qa/spec/scenario/test/instance/smoke_spec.rb
qa/spec/scenario/test/instance/smoke_spec.rb
+1
-1
qa/spec/scenario/test/integration/github_spec.rb
qa/spec/scenario/test/integration/github_spec.rb
+1
-1
qa/spec/scenario/test/integration/instance_saml_spec.rb
qa/spec/scenario/test/integration/instance_saml_spec.rb
+1
-1
qa/spec/scenario/test/integration/kubernetes_spec.rb
qa/spec/scenario/test/integration/kubernetes_spec.rb
+1
-1
qa/spec/scenario/test/integration/ldap_spec.rb
qa/spec/scenario/test/integration/ldap_spec.rb
+3
-3
qa/spec/scenario/test/integration/mattermost_spec.rb
qa/spec/scenario/test/integration/mattermost_spec.rb
+1
-1
qa/spec/scenario/test/integration/object_storage_spec.rb
qa/spec/scenario/test/integration/object_storage_spec.rb
+1
-1
qa/spec/scenario/test/sanity/framework_spec.rb
qa/spec/scenario/test/sanity/framework_spec.rb
+1
-1
qa/spec/scenario/test/sanity/selectors_spec.rb
qa/spec/scenario/test/sanity/selectors_spec.rb
+1
-1
qa/spec/specs/helpers/quarantine_spec.rb
qa/spec/specs/helpers/quarantine_spec.rb
+1
-1
qa/spec/specs/parallel_runner_spec.rb
qa/spec/specs/parallel_runner_spec.rb
+1
-1
qa/spec/specs/runner_spec.rb
qa/spec/specs/runner_spec.rb
+1
-1
qa/spec/support/repeater_spec.rb
qa/spec/support/repeater_spec.rb
+1
-1
qa/spec/support/retrier_spec.rb
qa/spec/support/retrier_spec.rb
+1
-1
qa/spec/support/wait_for_requests_spec.rb
qa/spec/support/wait_for_requests_spec.rb
+1
-1
qa/spec/support/waiter_spec.rb
qa/spec/support/waiter_spec.rb
+1
-1
No files found.
qa/qa/specs/features/sanity/framework_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
module
QA
context
'Framework sanity checks'
,
:orchestrated
,
:framework
do
RSpec
.
describe
'Framework sanity checks'
,
:orchestrated
,
:framework
do
describe
'Passing orchestrated example'
do
it
'succeeds'
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
...
...
qa/spec/runtime/api/request_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Runtime
::
API
::
Request
do
RSpec
.
describe
QA
::
Runtime
::
API
::
Request
do
let
(
:client
)
{
QA
::
Runtime
::
API
::
Client
.
new
(
'http://example.com'
)
}
let
(
:request
)
{
described_class
.
new
(
client
,
'/users'
)
}
...
...
qa/spec/runtime/key/ecdsa_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Runtime
::
Key
::
ECDSA
do
RSpec
.
describe
QA
::
Runtime
::
Key
::
ECDSA
do
describe
'#public_key'
do
[
256
,
384
,
521
].
each
do
|
bits
|
it
"generates a public
#{
bits
}
-bits ECDSA key"
do
...
...
qa/spec/runtime/key/ed25519_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Runtime
::
Key
::
ED25519
do
RSpec
.
describe
QA
::
Runtime
::
Key
::
ED25519
do
describe
'#public_key'
do
subject
{
described_class
.
new
.
public_key
}
...
...
qa/spec/runtime/key/rsa_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Runtime
::
Key
::
RSA
do
RSpec
.
describe
QA
::
Runtime
::
Key
::
RSA
do
describe
'#public_key'
do
subject
{
described_class
.
new
.
public_key
}
...
...
qa/spec/scenario/actable_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Actable
do
RSpec
.
describe
QA
::
Scenario
::
Actable
do
subject
do
Class
.
new
do
include
QA
::
Scenario
::
Actable
...
...
qa/spec/scenario/bootable_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Bootable
do
RSpec
.
describe
QA
::
Scenario
::
Bootable
do
subject
do
Class
.
new
(
QA
::
Scenario
::
Template
)
.
include
(
described_class
)
...
...
qa/spec/scenario/template_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Template
do
RSpec
.
describe
QA
::
Scenario
::
Template
do
let
(
:feature
)
{
spy
(
'Runtime::Feature'
)
}
let
(
:release
)
{
spy
(
'Runtime::Release'
)
}
...
...
qa/spec/scenario/test/instance/airgapped_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Instance
::
Airgapped
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Instance
::
Airgapped
do
describe
'#perform'
do
it_behaves_like
'a QA scenario class'
do
end
...
...
qa/spec/scenario/test/instance/all_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Instance
::
All
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Instance
::
All
do
it_behaves_like
'a QA scenario class'
end
qa/spec/scenario/test/instance/smoke_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Instance
::
Smoke
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Instance
::
Smoke
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:smoke
]
}
end
...
...
qa/spec/scenario/test/integration/github_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Integration
::
Github
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Integration
::
Github
do
describe
'#perform'
do
let
(
:env
)
{
spy
(
'Runtime::Env'
)
}
...
...
qa/spec/scenario/test/integration/instance_saml_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Integration
::
InstanceSAML
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Integration
::
InstanceSAML
do
describe
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:instance_saml
]
}
...
...
qa/spec/scenario/test/integration/kubernetes_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Integration
::
Kubernetes
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Integration
::
Kubernetes
do
describe
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:kubernetes
]
}
...
...
qa/spec/scenario/test/integration/ldap_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAPNoTLS
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAPNoTLS
do
describe
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:ldap_no_tls
]
}
...
...
@@ -8,7 +8,7 @@ describe QA::Scenario::Test::Integration::LDAPNoTLS do
end
end
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAPNoServer
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAPNoServer
do
describe
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:ldap_no_server
]
}
...
...
@@ -16,7 +16,7 @@ describe QA::Scenario::Test::Integration::LDAPNoServer do
end
end
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAPTLS
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Integration
::
LDAPTLS
do
describe
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:ldap_tls
]
}
...
...
qa/spec/scenario/test/integration/mattermost_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Integration
::
Mattermost
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Integration
::
Mattermost
do
describe
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:args
)
{
%w[gitlab_address mattermost_address]
}
...
...
qa/spec/scenario/test/integration/object_storage_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Integration
::
ObjectStorage
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Integration
::
ObjectStorage
do
describe
'#perform'
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:object_storage
]
}
...
...
qa/spec/scenario/test/sanity/framework_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Sanity
::
Framework
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Sanity
::
Framework
do
it_behaves_like
'a QA scenario class'
do
let
(
:tags
)
{
[
:framework
]
}
end
...
...
qa/spec/scenario/test/sanity/selectors_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Scenario
::
Test
::
Sanity
::
Selectors
do
RSpec
.
describe
QA
::
Scenario
::
Test
::
Sanity
::
Selectors
do
let
(
:validator
)
{
spy
(
'validator'
)
}
before
do
...
...
qa/spec/specs/helpers/quarantine_spec.rb
View file @
0e0a5738
...
...
@@ -36,7 +36,7 @@ RSpec.configure do |c|
end
end
describe
QA
::
Specs
::
Helpers
::
Quarantine
do
RSpec
.
describe
QA
::
Specs
::
Helpers
::
Quarantine
do
describe
'.skip_or_run_quarantined_contexts'
do
context
'with no tag focused'
do
before
do
...
...
qa/spec/specs/parallel_runner_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Specs
::
ParallelRunner
do
RSpec
.
describe
QA
::
Specs
::
ParallelRunner
do
include
Helpers
::
StubENV
before
do
...
...
qa/spec/specs/runner_spec.rb
View file @
0e0a5738
...
...
@@ -2,7 +2,7 @@
require
'active_support/core_ext/hash'
describe
QA
::
Specs
::
Runner
do
RSpec
.
describe
QA
::
Specs
::
Runner
do
shared_examples
'excludes orchestrated'
do
it
'excludes the orchestrated tag and includes default args'
do
expect_rspec_runner_arguments
([
'--tag'
,
'~orchestrated'
,
*
described_class
::
DEFAULT_TEST_PATH_ARGS
])
...
...
qa/spec/support/repeater_spec.rb
View file @
0e0a5738
...
...
@@ -4,7 +4,7 @@ require 'logger'
require
'timecop'
require
'active_support/core_ext/integer/time'
describe
QA
::
Support
::
Repeater
do
RSpec
.
describe
QA
::
Support
::
Repeater
do
before
do
logger
=
::
Logger
.
new
$stdout
logger
.
level
=
::
Logger
::
DEBUG
...
...
qa/spec/support/retrier_spec.rb
View file @
0e0a5738
...
...
@@ -3,7 +3,7 @@
require
'logger'
require
'timecop'
describe
QA
::
Support
::
Retrier
do
RSpec
.
describe
QA
::
Support
::
Retrier
do
before
do
logger
=
::
Logger
.
new
$stdout
logger
.
level
=
::
Logger
::
DEBUG
...
...
qa/spec/support/wait_for_requests_spec.rb
View file @
0e0a5738
# frozen_string_literal: true
describe
QA
::
Support
::
WaitForRequests
do
RSpec
.
describe
QA
::
Support
::
WaitForRequests
do
describe
'.wait_for_requests'
do
before
do
allow
(
subject
).
to
receive
(
:finished_all_ajax_requests?
).
and_return
(
true
)
...
...
qa/spec/support/waiter_spec.rb
View file @
0e0a5738
...
...
@@ -2,7 +2,7 @@
require
'logger'
describe
QA
::
Support
::
Waiter
do
RSpec
.
describe
QA
::
Support
::
Waiter
do
before
do
logger
=
::
Logger
.
new
$stdout
logger
.
level
=
::
Logger
::
DEBUG
...
...
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