Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
build-cli-standalone:
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v7

Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
retention-days: 1

build-desktop:
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v7

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:

build-cli-standalone:
needs: [prepare, gate]
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v7

Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:

build-desktop:
needs: [prepare, gate]
runs-on: macos-14
runs-on: macos-15
steps:
- uses: actions/checkout@v7

Expand Down
9 changes: 6 additions & 3 deletions apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down
Loading