diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 10:34:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-18 10:34:06 +0000 |
commit | 859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 (patch) | |
tree | d7f2700abe6b4ffcb2dcfc80631b2d87d0609239 /spec/frontend/artifacts_settings/components/__snapshots__/keep_latest_artifact_checkbox_spec.js.snap | |
parent | 446d496a6d000c73a304be52587cd9bbc7493136 (diff) | |
download | gitlab-ce-859a6fb938bb9ee2a317c46dfa4fcc1af49608f0.tar.gz |
Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42
Diffstat (limited to 'spec/frontend/artifacts_settings/components/__snapshots__/keep_latest_artifact_checkbox_spec.js.snap')
-rw-r--r-- | spec/frontend/artifacts_settings/components/__snapshots__/keep_latest_artifact_checkbox_spec.js.snap | 55 |
1 files changed, 45 insertions, 10 deletions
diff --git a/spec/frontend/artifacts_settings/components/__snapshots__/keep_latest_artifact_checkbox_spec.js.snap b/spec/frontend/artifacts_settings/components/__snapshots__/keep_latest_artifact_checkbox_spec.js.snap index 9d05e6d99f6..bfe7e40fb32 100644 --- a/spec/frontend/artifacts_settings/components/__snapshots__/keep_latest_artifact_checkbox_spec.js.snap +++ b/spec/frontend/artifacts_settings/components/__snapshots__/keep_latest_artifact_checkbox_spec.js.snap @@ -1,29 +1,64 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Keep latest artifact checkbox sets correct setting value in checkbox with query result 1`] = ` +exports[`Keep latest artifact checkbox when application keep latest artifact setting is disabled checkbox is disabled when application setting is disabled 1`] = ` <div> <!----> - <gl-form-checkbox-stub + <b-form-checkbox-stub checked="true" + class="gl-form-checkbox" + disabled="true" + plain="true" + value="true" > - <b + <strong class="gl-mr-3" > Keep artifacts from most recent successful jobs - </b> + </strong> <gl-link-stub href="/help/ci/pipelines/job_artifacts" > More information </gl-link-stub> - </gl-form-checkbox-stub> + + <p + class="help-text" + > + This feature is disabled at the instance level. + </p> + </b-form-checkbox-stub> +</div> +`; + +exports[`Keep latest artifact checkbox when application keep latest artifact setting is enabled sets correct setting value in checkbox with query result 1`] = ` +<div> + <!----> - <p> - - The latest artifacts created by jobs in the most recent successful pipeline will be stored. - - </p> + <b-form-checkbox-stub + checked="true" + class="gl-form-checkbox" + plain="true" + value="true" + > + <strong + class="gl-mr-3" + > + Keep artifacts from most recent successful jobs + </strong> + + <gl-link-stub + href="/help/ci/pipelines/job_artifacts" + > + More information + </gl-link-stub> + + <p + class="help-text" + > + The latest artifacts created by jobs in the most recent successful pipeline will be stored. + </p> + </b-form-checkbox-stub> </div> `; |