Skip to content
Merged
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
3 changes: 3 additions & 0 deletions e2e/console/actions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
startFleet,
test,
} from "./fixtures.js";
import { answerWithoutLoad } from "./workers-answers.js";

const ONE_DEVICE = { limits: { ios: { maxDevices: 1, maxRunning: 1 }, maxRunning: 1 } };
const IOS = { availableOsVersions: ["18.4"], knownModels: ["iPhone 16"] };
Expand Down Expand Up @@ -166,6 +167,8 @@ test.describe("the console acts", () => {
test("a worker is drained from Fleet with no dialog, and Undo undrains it", async ({ page }) => {
const fleet = await startFleet([{ driverScript: { ios: IOS }, label: "drain-a" }]);
try {
// why: the row shows the host's own disk and CPU; one over its limit outranks "drained" (#886).
await answerWithoutLoad(page);
await openPage(page, fleet.gateway, "/fleet", "Fleet");
const row = rowOf(page, "drain-a");
await expect(row).toBeVisible();
Expand Down
Loading