Merge pull request #14975 from hashicorp/ui/bugfix/peering-misspelling
UI: Copy changes for peering detail page
This commit is contained in:
commit
233a461fd1
|
@ -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 }));
|
||||
|
|
|
@ -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
|
||||
Then I don't see the "[data-test-addresses-empty]" element
|
||||
|
|
|
@ -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']),
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue