github.com/rposudnevskiy/consul@v1.4.5/ui-v2/tests/acceptance/dc/nodes/show.feature (about)

     1  @setupApplicationTest
     2  Feature: dc / nodes / show: Show node
     3    Scenario: Given 2 nodes all the tabs are visible and clickable
     4      Given 1 datacenter model with the value "dc1"
     5      And 2 node models from yaml
     6      When I visit the node page for yaml
     7      ---
     8        dc: dc1
     9        node: node-0
    10      ---
    11      And I see healthChecksIsSelected on the tabs
    12  
    13      When I click services on the tabs
    14      And I see servicesIsSelected on the tabs
    15  
    16      When I click roundTripTime on the tabs
    17      And I see roundTripTimeIsSelected on the tabs
    18  
    19      When I click lockSessions on the tabs
    20      And I see lockSessionsIsSelected on the tabs
    21    Scenario: Given 1 node all the tabs are visible and clickable and the RTT one isn't there
    22      Given 1 datacenter model with the value "dc1"
    23      And 1 node models from yaml
    24      ---
    25      ID: node-0
    26      ---
    27      When I visit the node page for yaml
    28      ---
    29        dc: dc1
    30        node: node-0
    31      ---
    32      And I see healthChecksIsSelected on the tabs
    33  
    34      When I click services on the tabs
    35      And I see servicesIsSelected on the tabs
    36  
    37      And I don't see roundTripTime on the tabs
    38  
    39      When I click lockSessions on the tabs
    40      And I see lockSessionsIsSelected on the tabs
    41    Scenario: Given 1 node with no checks all the tabs are visible but the Services tab is selected
    42      Given 1 datacenter model with the value "dc1"
    43      And 1 node models from yaml
    44      ---
    45      ID: node-0
    46      Checks: []
    47      ---
    48      When I visit the node page for yaml
    49      ---
    50        dc: dc1
    51        node: node-0
    52      ---
    53      And I see healthChecks on the tabs
    54      And I see services on the tabs
    55      And I see roundTripTime on the tabs
    56      And I see lockSessions on the tabs
    57      And I see servicesIsSelected on the tabs