From dbcba7aec7342b5899aaf13385a345040727acaf Mon Sep 17 00:00:00 2001 From: Tyler Wendlandt Date: Tue, 9 Jan 2024 11:39:38 -0700 Subject: [PATCH] fix: stop re-clicking dc dropdown in dc-switch test (#20127) * fix: stop re-clicking dc dropdown in dc-switch test * fix: keep nspaces dropdown open in manage nspaces test --- .../consul-ui/tests/acceptance/dc/nspaces/manage.feature | 1 - .../consul-ui/tests/acceptance/dc/services/dc-switch.feature | 2 -- 2 files changed, 3 deletions(-) diff --git a/ui/packages/consul-ui/tests/acceptance/dc/nspaces/manage.feature b/ui/packages/consul-ui/tests/acceptance/dc/nspaces/manage.feature index 67b282d129..7eca5d924d 100644 --- a/ui/packages/consul-ui/tests/acceptance/dc/nspaces/manage.feature +++ b/ui/packages/consul-ui/tests/acceptance/dc/nspaces/manage.feature @@ -43,7 +43,6 @@ Feature: dc / nspaces / manage : Managing Namespaces And I don't see manageNspacesIsVisible on the navigation When I click services on the navigation Then the url should be /dc-1/services - When I click nspace on the navigation And I click manageNspaces on the navigation Then the url should be /dc-1/namespaces And I don't see manageNspacesIsVisible on the navigation diff --git a/ui/packages/consul-ui/tests/acceptance/dc/services/dc-switch.feature b/ui/packages/consul-ui/tests/acceptance/dc/services/dc-switch.feature index be6849ef5c..f3e6f6a7e8 100644 --- a/ui/packages/consul-ui/tests/acceptance/dc/services/dc-switch.feature +++ b/ui/packages/consul-ui/tests/acceptance/dc/services/dc-switch.feature @@ -32,11 +32,9 @@ Feature: dc / services / dc-switch : Switching Datacenters And I click dcs.1.name on the navigation Then the url should be /dc-2/services Then I see 6 service models - When I click dc on the navigation And I click dcs.0.name on the navigation Then the url should be /dc-1/services Then I see 6 service models - When I click dc on the navigation And I click dcs.1.name on the navigation Then the url should be /dc-2/services Then I see 6 service models