Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
42784732b9
commit
6f17d00994
3 changed files with 13 additions and 10 deletions
|
@ -3438,7 +3438,11 @@ job split into three separate jobs.
|
|||
|
||||
#### Parallel `matrix` jobs
|
||||
|
||||
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/15356) in GitLab 13.2.
|
||||
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/15356) in GitLab 13.3.
|
||||
> - It's deployed behind a feature flag, disabled by default.
|
||||
> - It's enabled on GitLab.com.
|
||||
> - It can't be enabled or disabled per-project.
|
||||
> - It's recommended for production use.
|
||||
|
||||
`matrix:` allows you to configure different variables for jobs that are running in parallel.
|
||||
There can be from 2 to 50 jobs.
|
||||
|
|
0
doc/operations/metrics/dashboards/img/heatmap_chart_too_much_data_v_13_2.png
Executable file → Normal file
0
doc/operations/metrics/dashboards/img/heatmap_chart_too_much_data_v_13_2.png
Executable file → Normal file
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
|
@ -3,31 +3,30 @@
|
|||
module QA
|
||||
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|
|
||||
let(:merge_request) do
|
||||
Resource::MergeRequest.fabricate_via_api! do |merge_request|
|
||||
merge_request.title = 'This is a merge request'
|
||||
merge_request.description = '... for downloading patches and diffs'
|
||||
end
|
||||
end
|
||||
|
||||
it 'views the merge request email patches' do
|
||||
before do
|
||||
Flow::Login.sign_in
|
||||
merge_request.visit!
|
||||
end
|
||||
|
||||
@merge_request.visit!
|
||||
it 'views the merge request email patches' do
|
||||
Page::MergeRequest::Show.perform(&:view_email_patches)
|
||||
|
||||
expect(page.text).to start_with('From')
|
||||
expect(page).to have_content('Subject: [PATCH] This is a test commit')
|
||||
expect(page).to have_content("diff --git a/#{@merge_request.file_name} b/#{@merge_request.file_name}")
|
||||
expect(page).to have_content("diff --git a/#{merge_request.file_name} b/#{merge_request.file_name}")
|
||||
end
|
||||
|
||||
it 'views the merge request plain diff' do
|
||||
Flow::Login.sign_in
|
||||
|
||||
@merge_request.visit!
|
||||
Page::MergeRequest::Show.perform(&:view_plain_diff)
|
||||
|
||||
expect(page.text).to start_with("diff --git a/#{@merge_request.file_name} b/#{@merge_request.file_name}")
|
||||
expect(page.text).to start_with("diff --git a/#{merge_request.file_name} b/#{merge_request.file_name}")
|
||||
expect(page).to have_content('+File Added')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue