github.com/DerekStrickland/consul@v1.4.5/ui-v2/tests/acceptance/dc/services/error.feature (about) 1 @setupApplicationTest 2 Feature: dc / services / error 3 Scenario: Arriving at the service page that doesn't exist 4 Given 2 datacenter models from yaml 5 --- 6 - dc-1 7 - dc-2 8 --- 9 When I visit the services page for yaml 10 --- 11 dc: 404-datacenter 12 --- 13 Then I see the text "404 (Page not found)" in "[data-test-error]" 14 Scenario: Arriving at the service page 15 Given 2 datacenter models from yaml 16 --- 17 - dc-1 18 - dc-2 19 --- 20 Given the url "/v1/internal/ui/services" responds with a 500 status 21 When I visit the services page for yaml 22 --- 23 dc: dc-1 24 --- 25 Then I see the text "500 (The backend responded with an error)" in "[data-test-error]" 26 And I click "[data-test-datacenter-selected]" 27 And I see 2 datacenter models