From 22de521bfa9bd7cd4662b92b4a7ac81cef04f215 Mon Sep 17 00:00:00 2001 From: sophia Date: Tue, 14 Jan 2025 10:25:35 -0800 Subject: [PATCH] Update conda-store-ui tests for updated page verbage --- tests/common/handlers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/common/handlers.py b/tests/common/handlers.py index 51964d3ac5..761a6efd88 100644 --- a/tests/common/handlers.py +++ b/tests/common/handlers.py @@ -298,7 +298,9 @@ def _open_conda_store_service(self): def _open_new_environment_tab(self): self.page.get_by_label("Create a new environment in").click() - expect(self.page.get_by_text("Create Environment")).to_be_visible() + expect( + self.page.get_by_role("button", name="Create", exact=True) + ).to_be_visible() def _assert_user_namespace(self): expect(