Skip to content

Commit

Permalink
Merge pull request #5395 from sg00dwin/install-operator-bug1789610
Browse files Browse the repository at this point in the history
Bug 1789610: Resolve Subscribe/Install terminology when installing operator
  • Loading branch information
openshift-merge-robot committed May 18, 2020
2 parents b268d6a + 6634ff5 commit d20138d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ export const viewInstalledOperator = () =>
.element(by.linkText('View it here.'))
.click();

export const createSubscriptionFormTitle = element(
by.cssContainingText('h1', 'Create Operator Subscription'),
);
export const createSubscriptionFormTitle = element(by.cssContainingText('h1', 'Install Operator'));
export const createSubscriptionFormName = $(
'.co-clusterserviceversion-logo__name__clusterserviceversion',
);
export const createSubscriptionFormBtn = element(by.buttonText('Subscribe'));
export const createSubscriptionFormBtn = element(by.buttonText('Install'));
export const createSubscriptionFormLoaded = () =>
browser.wait(until.visibilityOf(createSubscriptionFormBtn), 60000);
export const createSubscriptionFormInstallMode = element(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ export const OperatorHubSubscribeForm: React.FC<OperatorHubSubscribeFormProps> =
{formError()}
<ActionGroup className="pf-c-form">
<Button onClick={() => submit()} isDisabled={formValid()} variant="primary">
Subscribe
Install
</Button>
<Button variant="secondary" onClick={() => history.push('/operatorhub')}>
Cancel
Expand Down Expand Up @@ -590,16 +590,16 @@ export const OperatorHubSubscribePage: React.SFC<OperatorHubSubscribePageProps>
return (
<>
<Helmet>
<title>OperatorHub Subscription</title>
<title>Operator Installation</title>
</Helmet>
<div className="co-m-nav-title co-m-nav-title--breadcrumbs">
<BreadCrumbs
breadcrumbs={[
{ name: 'OperatorHub', path: `/operatorhub?${search.toString()}` },
{ name: 'Operator Subscription', path: props.match.url },
{ name: 'Operator Installation', path: props.match.url },
]}
/>
<h1 className="co-m-pane__heading">Create Operator Subscription</h1>
<h1 className="co-m-pane__heading">Install Operator</h1>
<p className="co-help-text">
Install your Operator by subscribing to one of the update channels to keep the Operator up
to date. The strategy determines either manual or automatic updates.
Expand Down

0 comments on commit d20138d

Please sign in to comment.