@@ -16,7 +16,7 @@ In case custom inflection logic is needed, custom inflectors are added in the [q
## Link a test to its test case
Every test should have a corresponding test case as well as a results issue in the [Quality Test Cases project](https://gitlab.com/gitlab-org/quality/testcases/).
Every test should have a corresponding test case in the [GitLab project Test Cases](https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases) as well as a results issue in the [Quality Test Cases project](https://gitlab.com/gitlab-org/quality/testcases/-/issues).
It's recommended that you reuse the issue created to plan the test as the results issue. If a test case or results issue does not already exist you
can create them yourself. Alternatively, you can run the test in a pipeline that has reporting
enabled and the test-case reporter will automatically create a new test case and/or results issue and link the results issue to it's corresponding test case.
...
...
@@ -30,11 +30,11 @@ For example:
```ruby
RSpec.describe'Stage'do
describe'General description of the feature under test'do
@@ -44,6 +44,6 @@ This is a partial list of the [RSpec metadata](https://relishapp.com/rspec/rspec
| `:skip_signup_disabled` | The test uses UI to sign up a new user and is skipped in any environment that does not allow new user registration via the UI. |
| `:smoke` | The test belongs to the test suite which verifies basic functionality of a GitLab instance.|
| `:smtp` | The test requires a GitLab instance to be configured to use an SMTP server. Tests SMTP notification email delivery from GitLab by using MailHog. |
| `:testcase` | The link to the test case issue in the [Quality Test Cases project](https://gitlab.com/gitlab-org/quality/testcases/). |
| `:testcase` | The link to the test case issue in the [GitLab Project Test Cases](https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases). |
| `:transient` | The test tests transient bugs. It is excluded by default. |
| `:issue`, `:issue_${num}` | Optional links to issues which might be related to the spec. Helps keeping track of related issues and can also be used by tools that create test reports. Currently added automatically to `Allure` test report. Multiple tags can be used by adding optional number postfix like `issue_1`, `issue_2` etc. |
context'when moving from one Gitaly storage to another',:orchestrated,:repository_storage,testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1270'do
context'when moving from one Gitaly storage to another',:orchestrated,:repository_storage,testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347827'do
it'allows replication of different repository after interruption',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1268'do
it'allows replication of different repository after interruption',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347829'do
# We want to fill the replication queue with 10 `in_progress` jobs,
# while a lock has been acquired, which is when the problem occurred
# as reported in https://gitlab.com/gitlab-org/gitaly/-/issues/2801
it'allows admin to manage difference between praefect database and disk state',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/2344'do
it'allows admin to manage difference between praefect database and disk state',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347606'do
# Some repos are on disk that praefect is not aware of
it'allows a project to be created via the CLI with a different default branch name',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1246'do
it'allows a project to be created via the CLI with a different default branch name',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347838'do
it'user creates a project with a file and deletes them afterwards',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1581'do
it'user creates a project with a file and deletes them afterwards',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347745'do
it'download archives of each user project then check they are different',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1575'do
it'download archives of each user project then check they are different',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347748'do
it'pushes and creates a single push event three times',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1840'do
it'pushes and creates a single push event three times',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347680'do
verify_single_event_per_push(repeat: 3)
end
it'repeatedly pushes and creates a single push event several times',:transient,testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1915'do
it'repeatedly pushes and creates a single push event several times',:transient,testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347642'do
it'moves snippet repository from one Gitaly storage to another',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1912'do
it'moves snippet repository from one Gitaly storage to another',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347645'do
it'pushes, pulls image to the registry and deletes image blob, manifest and tag',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1819'do
it'pushes, pulls image to the registry and deletes image blob, manifest and tag',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348001'do
it'remains logged in when redirected from canary to non-canary node',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/2251'do
it'remains logged in when redirected from canary to non-canary node',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347626'do
it'closes an issue',:mobile,testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1222'do
it'closes an issue',:mobile,testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347967'do
closed_issue.visit!
Page::Project::Issue::Show.performdo|issue_page|
...
...
@@ -62,7 +62,7 @@ module QA
# The following example is excluded from running in `review-qa-smoke` job
# as it proved to be flaky when running against Review App
# See https://gitlab.com/gitlab-com/www-gitlab-com/-/issues/11568#note_621999351
it'comments on an issue with an attachment',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1599',except: {job: 'review-qa-smoke'}do
it'comments on an issue with an attachment',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347946',except: {job: 'review-qa-smoke'}do
Page::Project::Issue::Show.performdo|show|
show.comment('See attached image for scale',attachment: file_to_attach)
it'integrates and displays build status for MR pipeline in GitLab',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1410'do
it'integrates and displays build status for MR pipeline in GitLab',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347788'do
it'user using a personal access token pushes code to the repository',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1573'do
it'user using a personal access token pushes code to the repository',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347749'do
it'configures and syncs LFS objects for a (push) mirrored repository',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1224'do
it'configures and syncs LFS objects for a (push) mirrored repository',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347847'do
it'pushes to a project using a specific Praefect repository storage',:smoke,:requires_admin,:requires_praefect,testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1389'do
it'pushes to a project using a specific Praefect repository storage',:smoke,:requires_admin,:requires_praefect,testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347789'do
context'when developers and maintainers are allowed to push to a protected branch'do
it'user with push rights successfully pushes to the protected branch',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1563'do
it'user with push rights successfully pushes to the protected branch',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347756'do
context'when developers and maintainers are not allowed to push to a protected branch'do
it'user without push rights fails to push to the protected branch',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1562'do
it'user without push rights fails to push to the protected branch',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347757'do
# Note this context ensures that the example it contains is executed after the example above. Be aware of the order of execution if you add new examples in either context.
context'after adding an ssh key'do
it'can delete an ssh key',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1303'do
it'can delete an ssh key',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347820'do
it'clones, pushes, and pulls a snippet over HTTP, edits via UI',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1363'do
it'clones, pushes, and pulls a snippet over HTTP, edits via UI',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347793'do
it'clones, pushes, and pulls a snippet over SSH, deletes via UI',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1364'do
it'clones, pushes, and pulls a snippet over SSH, deletes via UI',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347792'do
it'clones, pushes, and pulls a project snippet over HTTP, edits via UI',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1359'do
it'clones, pushes, and pulls a project snippet over HTTP, edits via UI',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347797'do
Resource::Repository::Push.fabricate!do|push|
push.repository_http_uri=repository_uri_http
push.file_name=new_file
...
...
@@ -71,7 +71,7 @@ module QA
snippet.remove_via_api!
end
it'clones, pushes, and pulls a project snippet over SSH, deletes via UI',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1360'do
it'clones, pushes, and pulls a project snippet over SSH, deletes via UI',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347796'do
it'suggests to create a fork when a user clicks Web IDE in the main project',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1289'do
it'suggests to create a fork when a user clicks Web IDE in the main project',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347823'do
Flow::Login.sign_in(as: user)
parent_project.visit!
...
...
@@ -34,7 +34,7 @@ module QA
end
end
it'opens the fork when a user clicks Web IDE in the main project',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1288'do
it'opens the fork when a user clicks Web IDE in the main project',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347824'do
it'opens and edits a multi-file merge request in Web IDE from Diff Tab',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1649'do
it'opens and edits a multi-file merge request in Web IDE from Diff Tab',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347724'do
it'can switch branches and target branch field updates accordingly',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1891'do
it'can switch branches and target branch field updates accordingly',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347661'do
it'creates 2 trigger jobs and passes corresponding matrix variables',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1824'do
it'creates 2 trigger jobs and passes corresponding matrix variables',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348000'do
it'pushes project image to the container registry and deletes tag',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1833'do
it'pushes project image to the container registry and deletes tag',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347687'do
it'replicates a published pypi package to the Geo secondary site',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1219',quarantine: {issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/325556',type: :investigating}do
it'replicates a published pypi package to the Geo secondary site',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348090',quarantine: {issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/325556',type: :investigating}do
QA::Runtime::Logger.debug('Visiting the secondary Geo site')
it'moves group Wiki repository from one Gitaly storage to another',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1913'do
it'moves group Wiki repository from one Gitaly storage to another',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347644'do
it'searches public project and finds a blob as an non-member user',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1388'do
it'searches public project and finds a blob as an non-member user',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348063'do
successful_search(non_member_api_client)
end
...
...
@@ -46,11 +46,11 @@ module QA
project.set_visibility(:private)
end
it'finds a blob as an authorized user',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1387'do
it'finds a blob as an authorized user',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348064'do
successful_search(api_client)
end
it'does not find a blob as an non-member user',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1386'do
it'does not find a blob as an non-member user',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348065'do
it'searches public project and finds a blob as an non-member user',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1220'do
it'searches public project and finds a blob as an non-member user',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348089'do
let(:file_content_secondary){'This is a Geo project! Commit from secondary.'}
context'regular git commit'do
it'is redirected to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1424'do
it'is redirected to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348060'do
file_name='README.md'
project=nil
...
...
@@ -82,7 +82,7 @@ module QA
end
context'git-lfs commit'do
it'is redirected to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1425'do
it'is redirected to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348059'do
it'is proxied to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1426'do
it'is proxied to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348058'do
file_name='README.md'
key_title="Geo SSH to 2nd #{Time.now.to_f}"
project=nil
...
...
@@ -95,7 +95,7 @@ module QA
end
context'git-lfs commit'do
it'is proxied to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1427'do
it'is proxied to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348057'do
it'is redirected to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1431'do
it'is redirected to the primary and ultimately replicated to the secondary',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348053'do
QA::Runtime::Logger.debug('Visiting the secondary geo node')
it'proxies wiki commit to primary node and ultmately replicates to secondary node',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1430'do
it'proxies wiki commit to primary node and ultmately replicates to secondary node',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348054'do
QA::Runtime::Logger.debug('*****Visiting the secondary geo node*****')
describe'enable dependency scanning from configuration'do
it'runs dependency scanning job when enabled from configuration',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/2261'do
it'runs dependency scanning job when enabled from configuration',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347621'do
Flow::Pipeline.visit_latest_pipeline
# Baseline that we do not initially have a Dependency Scanning job
...
...
@@ -101,7 +101,7 @@ module QA
end
describe'enable sast from configuration'do
it'runs sast job when enabled from configuration',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1835'do
it'runs sast job when enabled from configuration',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347685'do
Flow::Pipeline.visit_latest_pipeline
# Baseline that we do not initially have a sast job
it'displays security reports in the pipeline',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1514'do
it'displays security reports in the pipeline',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348036'do
Flow::Pipeline.visit_latest_pipeline
Page::Project::Pipeline::Show.performdo|pipeline|
pipeline.click_on_security
...
...
@@ -84,7 +84,7 @@ module QA
end
end
it'displays security reports in the project security dashboard',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1513'do
it'displays security reports in the project security dashboard',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348037'do
context'Disable and Enable LFS',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1383'do
context'Disable and Enable LFS',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347919'do
beforedo
sign_in
group.visit!
...
...
@@ -32,7 +32,7 @@ module QA
it_behaves_like'audit event',["Changed lfs enabled from false to true",/Changed lfs enabled( from true)? to false/]
end
context'Enable and disable membership lock',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1408'do
context'Enable and disable membership lock',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347900'do
beforedo
sign_in
group.visit!
...
...
@@ -46,7 +46,7 @@ module QA
it_behaves_like'audit event',["Changed membership lock from true to false","Changed membership lock from false to true"]
end
context'Enable and disable allow user request access',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1406'do
context'Enable and disable allow user request access',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347902'do
beforedo
sign_in
group.visit!
...
...
@@ -60,7 +60,7 @@ module QA
it_behaves_like'audit event',["Changed request access enabled from true to false","Changed request access enabled from false to true"]
end
context'Enable and disable 2FA requirement',:requires_admin,:skip_live_env,testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1382'do
context'Enable and disable 2FA requirement',:requires_admin,:skip_live_env,testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347920'do
let!(:owner_user)do
Resource::User.fabricate_via_api!
end
...
...
@@ -102,7 +102,7 @@ module QA
it_behaves_like'audit event',["Changed require two factor authentication from true to false","Changed require two factor authentication from false to true"]
it'user clones and pushes to project within a group using Git HTTP',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1449'do
it'user clones and pushes to project within a group using Git HTTP',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347899'do
it'creates a new account automatically and allows to leave group and join again',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1845'do
it'creates a new account automatically and allows to leave group and join again',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347675'do
# When the user signs in via IDP for the first time
context'when SAML SSO is configured with a default membership role'do
let(:default_membership_role){'Developer'}
it'adds the new member with access level as set in SAML SSO configuration',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1284'do
it'adds the new member with access level as set in SAML SSO configuration',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347936'do
it'can be shared with another group with correct access level',:requires_admin,testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1294'do
it'can be shared with another group with correct access level',:requires_admin,testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347935'do
it'successfully imports the project using template',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1621'do
it'successfully imports the project using template',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347875'do
Page::Project::New.performdo|new_page|
# TODO: Remove `reload true` once this bug is fixed: https://gitlab.com/gitlab-org/gitlab/-/issues/247874
new_page.retry_until(reload: true)do
...
...
@@ -153,7 +153,7 @@ module QA
# Skip this test in production until the number of subgroups is back to normal
# See https://gitlab.com/gitlab-org/gitlab/-/issues/341930
it'successfully imports the project using template',except: :production,testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1312'do
it'successfully imports the project using template',except: :production,testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347933'do
it'shows the just created board with a "Testing" (label) list, and an issue on it',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1184'do
it'shows the just created board with a "Testing" (label) list, and an issue on it',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347990'do
it'shows the just created board with a "1.0" (milestone) list, and an issue on it',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1485'do
it'shows the just created board with a "1.0" (milestone) list, and an issue on it',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347953'do
it'shows the just created board with an assignee list, and an issue on it',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1183'do
it'shows the just created board with an assignee list, and an issue on it',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347991'do
it'shows the sum of issues weights in the board list\'s header',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1209'do
it'shows the sum of issues weights in the board list\'s header',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347969'do
it'shows the set weight in the issue page, in the milestone page, and in the issues list page',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1188'do
it'shows the set weight in the issue page, in the milestone page, and in the issues list page',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347986'do
it'shows the first three assignees and a +n sign in the issues list',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1202'do
it'shows the first three assignees and a +n sign in the issues list',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347976'do
project.visit!
Page::Project::Menu.perform(&:click_issues)
...
...
@@ -54,7 +54,7 @@ module QA
end
end
it'shows the first five assignees and a +n more link in the issue page',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1201'do
it'shows the first five assignees and a +n more link in the issue page',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347977'do
it'creates a merge request with codeowners file and squashing commits enabled',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1876'do
it'creates a merge request with codeowners file and squashing commits enabled',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347672'do
# The default branch is already protected, and we can't update a protected branch via the API (yet)
# so we unprotect it first and then protect it again with the desired parameters
it'locks a file and tries to push as a second user',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/558'do
it'locks a file and tries to push as a second user',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348315'do
sign_out_and_sign_in_asuser: user_one
go_to_file
click_lock
...
...
@@ -122,7 +122,7 @@ module QA
expect_no_error_on_pushas_user: user_one
end
it'checks file locked by other user to be disabled',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/556'do
it'checks file locked by other user to be disabled',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348314'do
go_to_file
click_lock
sign_out_and_sign_in_asuser: user_one
...
...
@@ -133,7 +133,7 @@ module QA
end
end
it'creates a merge request and fails to merge',quarantine: {issue: 'https://gitlab.com/gitlab-org/gitlab/issues/40125',type: :bug},testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1852'do
it'creates a merge request and fails to merge',quarantine: {issue: 'https://gitlab.com/gitlab-org/gitlab/issues/40125',type: :bug},testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348316'do
it'configures and syncs a (pull) mirrored repository with password auth',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1540'do
it'configures and syncs a (pull) mirrored repository with password auth',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347764'do
it'confirms that a merge train consistently completes and updates the UI',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1611'do
it'confirms that a merge train consistently completes and updates the UI',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348019'do
Runtime::Env.transient_trials.timesdo|i|
QA::Runtime::Logger.info("Transient bug test action - Trial #{i}")
it"pulls an image using the dependency proxy on a group enforced SSO",testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/2291'do
it"pulls an image using the dependency proxy on a group enforced SSO",testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347612'do
it'creates an incident template and opens an incident with template applied',testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/quality/test_cases/1262'do
it'creates an incident template and opens an incident with template applied',testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348081'do