diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3e5b51ae..deae9b50 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,7 +14,7 @@ permissions: jobs: build-cli-standalone: - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v7 @@ -79,7 +79,7 @@ jobs: retention-days: 1 build-desktop: - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d305fc9f..14b7e3e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -129,7 +129,7 @@ jobs: build-cli-standalone: needs: [prepare, gate] - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v7 @@ -214,7 +214,7 @@ jobs: build-desktop: needs: [prepare, gate] - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v7 diff --git a/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx b/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx index 4b42bc37..abb889db 100644 --- a/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx +++ b/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx @@ -1535,9 +1535,12 @@ describe("MachinePage commands in the palette (AC-21)", () => { it("switches views and filters through the page's own handlers", async () => { renderWithPalette(); await screen.findByTestId("machine-grid"); - // Already on the grid, and no filter is on. - expect(paletteOption("Show resources")).toHaveAttribute("aria-disabled", "true"); - expect(paletteOption("Filter: show all")).toHaveAttribute("aria-disabled", "true"); + // Already on the grid, and no filter is on. The page registers its palette + // commands in an effect, which can land after the grid's first paint. + await waitFor(() => { + expect(paletteOption("Show resources")).toHaveAttribute("aria-disabled", "true"); + expect(paletteOption("Filter: show all")).toHaveAttribute("aria-disabled", "true"); + }); fireEvent.click(paletteOption("Filter: gaps")); await waitFor(() => expect(screen.getByTestId("location-search")).toHaveTextContent("filter=gaps"));