diff --git a/ui/packages/consul-ui/app/components/peerings/provider/index.js b/ui/packages/consul-ui/app/components/peerings/provider/index.js index 23bd99d9b..b6f281cda 100644 --- a/ui/packages/consul-ui/app/components/peerings/provider/index.js +++ b/ui/packages/consul-ui/app/components/peerings/provider/index.js @@ -33,7 +33,7 @@ export default class PeeringsProvider extends Component { ]; if (isReceiver) { - tabs = [...tabs, { label: 'Addresses', route: 'dc.peers.show.addresses' }]; + tabs = [...tabs, { label: 'Server Addresses', route: 'dc.peers.show.addresses' }]; } return tabs.map((tab) => new Tab({ ...tab, currentRouteName: router.currentRouteName, owner })); diff --git a/ui/packages/consul-ui/tests/acceptance/dc/peers/show.feature b/ui/packages/consul-ui/tests/acceptance/dc/peers/show.feature index 4fc7f7405..ee1297a03 100644 --- a/ui/packages/consul-ui/tests/acceptance/dc/peers/show.feature +++ b/ui/packages/consul-ui/tests/acceptance/dc/peers/show.feature @@ -18,7 +18,7 @@ Feature: dc / peers / show: Peers show Then the url should be /dc-1/peers/a-peer/imported-services Then I see importedServicesIsVisible on the tabs And I see exportedServicesIsVisible on the tabs - And I don't see addressesIsVisible on the tabs + And I don't see serverAddressesIsVisible on the tabs Scenario: Receiver side tabs And 1 datacenter model with the value "dc-1" @@ -38,7 +38,7 @@ Feature: dc / peers / show: Peers show Then the url should be /dc-1/peers/a-peer/imported-services Then I see importedServicesIsVisible on the tabs And I see exportedServicesIsVisible on the tabs - And I see addressesIsVisible on the tabs + And I see serverAddressesIsVisible on the tabs Scenario: Imported Services Empty And 1 datacenter model with the value "dc-1" @@ -133,4 +133,4 @@ Feature: dc / peers / show: Peers show dc: dc-1 peer: a-peer --- - Then I don't see the "[data-test-addresses-empty]" element \ No newline at end of file + Then I don't see the "[data-test-addresses-empty]" element diff --git a/ui/packages/consul-ui/tests/pages/dc/peers/index.js b/ui/packages/consul-ui/tests/pages/dc/peers/index.js index d60b3e41e..27d176466 100644 --- a/ui/packages/consul-ui/tests/pages/dc/peers/index.js +++ b/ui/packages/consul-ui/tests/pages/dc/peers/index.js @@ -5,6 +5,6 @@ export default function (visitable, creatable, items, popoverSelect) { visit: visitable('/:dc/peers'), peers: items(), sort: popoverSelect('[data-test-sort-control]'), - tabs: tabgroup('tab', ['imported-services', 'exported-services', 'addresses']), + tabs: tabgroup('tab', ['imported-services', 'exported-services', 'server-addresses']), }); } diff --git a/ui/packages/consul-ui/translations/routes/en-us.yaml b/ui/packages/consul-ui/translations/routes/en-us.yaml index 4e157d9df..e8b134dfb 100644 --- a/ui/packages/consul-ui/translations/routes/en-us.yaml +++ b/ui/packages/consul-ui/translations/routes/en-us.yaml @@ -141,10 +141,10 @@ dc: exported: count: | {count} exported services - tooltip: The number of services exported from {name} - tab-tooltip: Services exported from {name} + tooltip: The number of services exported to {name} + tab-tooltip: Services exported to {name} addresses: - tooltip: The number of services exported from {name} + tooltip: The number of services exported to {name} show: imported: empty: