Render markdown in gist and project sidebar titles; add content visibility and GIF picker
DevPlace CI / test (push) Failing after 1h5m29s
DevPlace CI / test (push) Failing after 1h5m29s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@ from devplacepy.services.containers import store
|
||||
from devplacepy.services.containers.workspace import flags, naming
|
||||
from devplacepy.utils import make_combined_slug
|
||||
from tests.conftest import BASE_URL
|
||||
from tests.e2e.ui.components import _menu_item, _open_menu
|
||||
|
||||
EDITOR_CONTAINER_PORT = 8443
|
||||
TRANSITION_TIMEOUT_MS = 8000
|
||||
@@ -110,8 +111,8 @@ def test_project_page_hides_the_workspace_entry_point_from_a_non_owner(bob):
|
||||
page.goto(
|
||||
f"{BASE_URL}/projects/{project['slug']}", wait_until="domcontentloaded"
|
||||
)
|
||||
page.locator(".project-actions-more").click()
|
||||
assert not page.locator(".context-menu-item:has-text('Workspace')").count()
|
||||
_open_menu(page)
|
||||
assert not _menu_item(page, "Workspace").count()
|
||||
|
||||
|
||||
def test_direct_vscode_button_is_absent_while_the_workspace_is_stopped(alice):
|
||||
@@ -148,8 +149,8 @@ def test_project_page_hides_the_workspace_entry_point_when_disabled(alice):
|
||||
page.goto(
|
||||
f"{BASE_URL}/projects/{project['slug']}", wait_until="domcontentloaded"
|
||||
)
|
||||
page.locator(".project-actions-more").click()
|
||||
assert not page.locator(".context-menu-item:has-text('Workspace')").count()
|
||||
_open_menu(page)
|
||||
assert not _menu_item(page, "Workspace").count()
|
||||
finally:
|
||||
set_setting("workspace_enabled", "1")
|
||||
assert _await_workspace_flag(project["slug"], row["api_key"], True)
|
||||
|
||||
Reference in New Issue
Block a user