mirror of
https://github.com/basnijholt/compose-farm.git
synced 2026-02-03 14:13:26 +00:00
fix: Skip buildable images in pull command (#109)
* fix: Skip buildable images in pull command Add --ignore-buildable flag to pull command, matching the behavior of the update command. This prevents pull from failing when a stack contains services with local build directives (no remote image). * test: Fix flaky command palette close detection Use state="hidden" instead of :not([open]) selector when waiting for the command palette to close. The old approach failed because wait_for_selector defaults to waiting for visibility, but a closed <dialog> element is hidden by design.
This commit is contained in:
@@ -669,8 +669,8 @@ class TestCommandPalette:
|
||||
page.locator("#cmd-input").fill("plex")
|
||||
page.keyboard.press("Enter")
|
||||
|
||||
# Palette should close
|
||||
page.wait_for_selector("#cmd-palette:not([open])", timeout=SHORT_TIMEOUT)
|
||||
# Palette should close (use state="hidden" since closed dialog is not visible)
|
||||
page.wait_for_selector("#cmd-palette", state="hidden", timeout=SHORT_TIMEOUT)
|
||||
|
||||
# Should navigate to plex stack page
|
||||
page.wait_for_url("**/stack/plex", timeout=TIMEOUT)
|
||||
@@ -699,8 +699,8 @@ class TestCommandPalette:
|
||||
|
||||
page.keyboard.press("Escape")
|
||||
|
||||
# Palette should close, URL unchanged
|
||||
page.wait_for_selector("#cmd-palette:not([open])", timeout=SHORT_TIMEOUT)
|
||||
# Palette should close, URL unchanged (use state="hidden" since closed dialog is not visible)
|
||||
page.wait_for_selector("#cmd-palette", state="hidden", timeout=SHORT_TIMEOUT)
|
||||
assert page.url.rstrip("/") == server_url.rstrip("/")
|
||||
|
||||
def test_fab_button_opens_palette(self, page: Page, server_url: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user