Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/common/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,10 @@ def _open_conda_store_service(self):
time.sleep(2)

def _open_new_environment_tab(self):
self.page.get_by_label("Create a new environment in").click()
self.page.get_by_role(
"link",
name=f"Create a new environment in the {self.nav.username} namespace",
).click()
expect(
self.page.get_by_role("button", name="Create", exact=True)
).to_be_visible()
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_e2e/playwright/test_playwright.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ def test_conda_store_ui(navigator, namespaces):
namespaces.append(navigator.username)
namespaces.sort()

assert shown_namespaces == namespaces
assert set(shown_namespaces).intersection(namespaces) == set(namespaces)
# Clean up
conda_store.reset_workspace()
Loading