MORE_INFO="For more information, take a look at our [Commit message guidelines](#{COMMIT_MESSAGE_GUIDELINES})."
MORE_INFO="For more information, take a look at our [Commit message guidelines](#{COMMIT_MESSAGE_GUIDELINES})."
THE_DANGER_JOB_TEXT="the `danger-review` job"
THE_DANGER_JOB_TEXT="the `danger-review` job"
MAX_COMMITS_COUNT=10
MAX_COMMITS_COUNT=10
MAX_COMMITS_COUNT_EXCEEDED_MESSAGE=<<~MSG
This merge request includes more than %<max_commits_count>d commits. Each commit should meet the following criteria:
1. Have a well-written commit message.
1. Has all tests passing when used on its own (e.g. when using git checkout SHA).
1. Can be reverted on its own without also requiring the revert of commit that came before it.
1. Is small enough that it can be reviewed in isolation in under 30 minutes or so.
If this merge request contains commits that do not meet this criteria and/or contains intermediate work, please rebase these commits into a smaller number of commits or split this merge request into multiple smaller merge requests.
@@ -940,7 +940,7 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
...
@@ -940,7 +940,7 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
it'renders message about job being stuck because of no runners with the specified tags'do
it'renders message about job being stuck because of no runners with the specified tags'do
expect(page).tohave_css('.js-stuck-with-tags')
expect(page).tohave_css('.js-stuck-with-tags')
expect(page).tohave_content("This job is stuck because you don't have any active runners online with any of these tags assigned to them:")
expect(page).tohave_content("This job is stuck because you don't have any active runners online or available with any of these tags assigned to them:")
end
end
end
end
...
@@ -950,7 +950,7 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
...
@@ -950,7 +950,7 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
it'renders message about job being stuck because of no runners with the specified tags'do
it'renders message about job being stuck because of no runners with the specified tags'do
expect(page).tohave_css('.js-stuck-with-tags')
expect(page).tohave_css('.js-stuck-with-tags')
expect(page).tohave_content("This job is stuck because you don't have any active runners online with any of these tags assigned to them:")
expect(page).tohave_content("This job is stuck because you don't have any active runners online or available with any of these tags assigned to them:")