Skip to content

Commit

Permalink
Code host config message (#11645)
Browse files Browse the repository at this point in the history
* Update code host config message

The message "Configure external services" did not clearly indicate the intension to add code hosts. This commit improves that message.

* Fix test for previous commit
  • Loading branch information
rrhyne committed Jun 24, 2020
1 parent ed7ea11 commit 9a4fcf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/regression/init.test.ts
Expand Up @@ -46,7 +46,7 @@ describe('Initialize new instance', () => {
await retry(
async () => {
await driver.page.reload()
await driver.findElementWithText('Configure external services', { wait: { timeout: 5 * 1000 } })
await driver.findElementWithText('Connect a code host', { wait: { timeout: 5 * 1000 } })
await delay(1000)
},
{ retries: 10 }
Expand Down
2 changes: 1 addition & 1 deletion web/src/site/NeedsRepositoryConfigurationAlert.tsx
Expand Up @@ -21,7 +21,7 @@ export const NeedsRepositoryConfigurationAlert: React.FunctionComponent<{ classN
>
<Link className="site-alert__link" to="/site-admin/external-services" onClick={onClickCTA}>
<CircleChevronRightIcon className="icon-inline site-alert__link-icon" />{' '}
<span className="underline">Configure external services</span>
<span className="underline">Connect a code host</span>
</Link>
&nbsp;to connect repositories to Sourcegraph.
</DismissibleAlert>
Expand Down

0 comments on commit 9a4fcf4

Please sign in to comment.