diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-16 21:08:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-16 21:08:16 +0300 |
commit | 204df35415f2b0ed86c83b31b1d276f52e07e577 (patch) | |
tree | 1db4c0f302c145a5b6cd02afe7d49ea72267f612 /spec/frontend/clusters | |
parent | db19df23733c768c564534a09de2e6718097ec95 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/clusters')
-rw-r--r-- | spec/frontend/clusters/components/__snapshots__/new_cluster_spec.js.snap | 7 | ||||
-rw-r--r-- | spec/frontend/clusters/components/new_cluster_spec.js | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/spec/frontend/clusters/components/__snapshots__/new_cluster_spec.js.snap b/spec/frontend/clusters/components/__snapshots__/new_cluster_spec.js.snap index 5577176bcc5..0bec2a5934e 100644 --- a/spec/frontend/clusters/components/__snapshots__/new_cluster_spec.js.snap +++ b/spec/frontend/clusters/components/__snapshots__/new_cluster_spec.js.snap @@ -1,8 +1,9 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`NewCluster renders the cluster component correctly 1`] = ` -"<div> - <h4>Enter the details for your Kubernetes cluster</h4> - <p>Please enter access information for your Kubernetes cluster. If you need help, you can read our <b-link-stub href=\\"/some/help/path\\" target=\\"_blank\\" event=\\"click\\" routertag=\\"a\\" class=\\"gl-link\\">documentation</b-link-stub> on Kubernetes</p> +"<div class=\\"gl-pt-4\\"> + <h4>Enter your Kubernetes cluster certificate details</h4> + <p>Enter details about your cluster. <b-link-stub href=\\"/some/help/path\\" target=\\"_blank\\" event=\\"click\\" routertag=\\"a\\" class=\\"gl-link\\">How do I use a certificate to connect to my cluster?</b-link-stub> + </p> </div>" `; diff --git a/spec/frontend/clusters/components/new_cluster_spec.js b/spec/frontend/clusters/components/new_cluster_spec.js index b73442f6ec3..b62e678154c 100644 --- a/spec/frontend/clusters/components/new_cluster_spec.js +++ b/spec/frontend/clusters/components/new_cluster_spec.js @@ -31,9 +31,7 @@ describe('NewCluster', () => { }); it('renders the correct information text', () => { - expect(findDescription().text()).toContain( - 'Please enter access information for your Kubernetes cluster.', - ); + expect(findDescription().text()).toContain('Enter details about your cluster.'); }); it('renders a valid help link set by the backend', () => { |